Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BitKeyPair

Implements

Index

Constructors

constructor

Methods

checkSig

  • checkSig(data: string, sig: string): Promise<boolean>

createKeyPair

  • createKeyPair(passPhrase: string): Promise<KeyPair>

decryptFields

  • decryptFields(fields: Map<string, string>): Promise<Map<string, string>>

decryptMessage

  • decryptMessage(senderPk: string, encrypted: string): Promise<string>

encryptFields

  • encryptFields(fields: Map<string, string>): Promise<Map<string, string>>

encryptMessage

  • encryptMessage(recipientPk: string, message: string): Promise<string>

encryptPermissionsFields

  • encryptPermissionsFields(recipient: string, data: Map<string, AccessRight>): Promise<string>

generateMnemonicPhrase

  • generateMnemonicPhrase(): Promise<string>

getAddr

  • getAddr(): string

getPublicKey

  • getPublicKey(): string

signMessage

  • signMessage(data: string): Promise<string>

Generated using TypeDoc