type
PrivKey
src
const mixin PrivKey : AsymKey
A private key in an asymmetric key pair. A private key can be used to sign
and decrypt
data.
methods
decrypt |
Decrypt the contents of the data buffer and return the result. |
---|---|
sign |
Sign the contents of the data buffer after applying the given digest algorithm and return the signature. |