@transmute/x25519-key-pair
Version:
``` npm i @transmute/x25519-key-pair@latest --save ```
19 lines (18 loc) • 651 B
TypeScript
/**
* z represents the multibase encoding scheme of base58 encoding
* @see https://github.com/multiformats/multibase/blob/master/multibase.csv#L18
* @ignore
*/
declare const MULTIBASE_ENCODED_BASE58_IDENTIFIER = "z";
/**
* 0x01 indicates the end of the leading bytes according to variable integer spec
* @see https://github.com/multiformats/multicodec
* @ignore
*/
declare const VARIABLE_INTEGER_TRAILING_BYTE = 1;
/**
* 0xec indicates a X25519 public key
*
*/
declare const X25519_MULTICODEC_IDENTIFIER = 236;
export { MULTIBASE_ENCODED_BASE58_IDENTIFIER, VARIABLE_INTEGER_TRAILING_BYTE, X25519_MULTICODEC_IDENTIFIER, };