Class YlidePrivateKeyHelper

Hierarchy

  • YlidePrivateKeyHelper

Constructors

Methods

  • Method to decrypt key using password

    Returns

    Raw private key

    Parameters

    • keydata: Uint8Array
    • password: string

      Password to decrypt

    Returns Uint8Array

  • Method to encrypt key by password

    Returns

    Encrypted bytes

    Parameters

    • key: Uint8Array

      Raw private key bytes

    • password: string

      Password to encrypt

    Returns Uint8Array

  • Method to generate deprecated old unsecure dynamic magic string for signing

    See

    Initialization of communication keys

    Returns

    String to be signed using user's wallet

    Parameters

    • address: string

      User's address

    • keyIndex: number

      Index of this key

    • password: string

      Ylide password

    Returns string

  • Method to generate dynamic magic string for signing

    See

    Initialization of communication keys

    Returns

    String to be signed using user's wallet

    Parameters

    • address: string

      User's address

    • keyIndex: number

      Index of this key

    • password: string

      Ylide password

    Returns string

Generated using TypeDoc