Function encryptKey

  • Encrypt given data using password

    Returns

    Encrypted data

    Deprecated

    use 'sha.js' and 'aes-js' packages directly instead

    Parameters

    • password: string

      Password to encrypt with

    • binaryData: Uint8Array

      Data to encrypt

    Returns Uint8Array

Generated using TypeDoc