This repository has been archived on 2023-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
webcrypto/packages/pkcs11/src/const.ts

4 lines
195 B
TypeScript

// We have to use SHA-1 algorithm instead of SHA-2
// OS X security uses SHA-1 for SecKeyItem's ID generation (kSecAttrApplicationLabel | kSecAttrPublicKeyHash)
export const ID_DIGEST = "SHA-1";