Function generateEncryptionKey
- generateEncryptionKey<I, Asym extends boolean, G>(
name: NameLike,
...a: EncryptionOptG<I, Asym, G>,
): Promise<[NamedEncrypter<Asym>, NamedDecrypter<Asym>]> - generateEncryptionKey<I, Asym extends boolean, G>(
keyChain: KeyChain,
name: NameLike,
...a: EncryptionOptG<I, Asym, G>,
): Promise<[NamedEncrypter<Asym>, NamedDecrypter<Asym>]>
Generate a pair of encrypter and decrypter.