Accessors
supports
- get supports(): string[]
Returns string[]
Methods
getPubKey
- getPubKey(): string | Promise<string>
Returns string | Promise<string>
init
- init(): Promise<void>
Returns Promise<void>
nip44Decrypt
- nip44Decrypt(content, otherKey): Promise<string>
Parameters
content: string
otherKey: string
Returns Promise<string>
nip44Encrypt
- nip44Encrypt(content, key): Promise<string>
Parameters
content: string
key: string
Returns Promise<string>
nip4Decrypt
- nip4Decrypt(content, otherKey): Promise<string>
Parameters
content: string
otherKey: string
Returns Promise<string>
nip4Encrypt
- nip4Encrypt(content, key): Promise<string>
Parameters
content: string
key: string
Returns Promise<string>
sign
- sign(ev): Promise<NostrEvent>