🧙The SDK

The Sodalabs SDK provides functionalities for AES and RSA encryption schemes, ECDSA signature scheme and some functionalities used for working with the gcEVM's interface. The SDK provides the functionalities in three languages - Golang, Python and JavaScript.

The provided functionalities:

  • AES encryption scheme:

    • Generate AES key

    • Write AES key

    • Load AES key

    • Encrypt

    • Decrypt

  • RSA encryption scheme:

    • Generate RSA key pair

    • Encrypt

    • Decrypt

  • ECDSA signature scheme:

    • Generate ECDSA private key

    • Sign

  • Hash:

    • Keccak 256

  • Functionalities related to gcEVM's InputText:

    • Sign InputText

    • Verify InputText (Available only in Golang)

    • Prepare InputText

    • Get function signature

The SDK is available as both JavaScript and Python packages, and the underlying code can be found here.

Last updated