Welshman Docs / @welshman/signer / nip44
Variable: nip44 ​
constnip44:object
Defined in: packages/signer/src/util.ts:32
Type declaration ​
decrypt() ​
decrypt: (
pubkey,secret,m) =>string
Parameters ​
pubkey ​
string
secret ​
string
m ​
string
Returns ​
string
encrypt() ​
encrypt: (
pubkey,secret,m) =>string
Parameters ​
pubkey ​
string
secret ​
string
m ​
string
Returns ​
string
getSharedSecret ​
getSharedSecret: {(...
args):Uint8Array<ArrayBufferLike>;cache:LRUCache<string,Uint8Array<ArrayBufferLike>>;getKey: (args) =>string;getValue: (args) =>Uint8Array;pop: (...args) =>Uint8Array<ArrayBufferLike>; }
Parameters ​
args ​
...string[]
Returns ​
Uint8Array<ArrayBufferLike>
getSharedSecret.cache ​
getSharedSecret.cache:
LRUCache<string,Uint8Array<ArrayBufferLike>>
getSharedSecret.getKey() ​
getSharedSecret.getKey: (
args) =>string
Parameters ​
args ​
string[]
Returns ​
string
getSharedSecret.getValue() ​
getSharedSecret.getValue: (
args) =>Uint8Array
Parameters ​
args ​
string[]
Returns ​
Uint8Array
getSharedSecret.pop() ​
getSharedSecret.pop: (...
args) =>Uint8Array<ArrayBufferLike>
Parameters ​
args ​
...string[]
Returns ​
Uint8Array<ArrayBufferLike>