Namespace: convert
cryptography.convert
Functions
ed25519ToX25519PrivateKeyMultibase
▸ ed25519ToX25519PrivateKeyMultibase(privateKey
): string
Parameters
Name | Type |
---|---|
privateKey | Buffer |
Returns
string
Defined in
packages/klayr-decentralized-identifier/src/cryptography/convert.ts:13
ed25519ToX25519PublicKeyMultibase
▸ ed25519ToX25519PublicKeyMultibase(publicKey
): string
Parameters
Name | Type |
---|---|
publicKey | Buffer |
Returns
string
Defined in
packages/klayr-decentralized-identifier/src/cryptography/convert.ts:5