6.3.17 • Published 5 years ago
@npmextras/pmcrypto v6.3.17
pmcrypto
V6
Added:
- SHA512 hash, exposed as
SHA512 - MD5 hash, exposed as
unsafeMD5 arrayToHexStringcreateCleartextMessage
Changed:
getCleartextMessagenow reads an armored message instead of creating one. To create one thecreateCleartextMessageshould be used. This is to have consistency with thegetMessage,createMessage,getSignatureetc functions.
Removed:
getHashedPasswordnot used.
V5
openpgp is installed by this library as a dependency.
However it must be passed to pmcrypto because the client needs to choose which bundle of openpgpjs to use.
Now, pmcrypto must to be initialized with openpgp using the init function.
import { init } from 'pmcrypto';
init(require('openpgp'));6.3.17
5 years ago