Skip to content

0.6.3

Compare
Choose a tag to compare
@andrehrferreira andrehrferreira released this 28 Nov 11:54
· 9 commits to main since this release

Version 0.6.0 (November 28, 2024)

New Features

  • Simple Key Generation with Elliptic Curves:
    Introduced a function for generating simple keys using Elliptic Curve Cryptography (ECC). This feature simplifies the process of key creation and enhances compatibility with blockchain standards.
    • Utilizes the secp256k1 curve, commonly used in blockchain technologies.
    • Example usage:
      const { ECKeys, Encryptor } = require('@cmmv/encryptor');
      
      const keys = ECKeys.generateKeys();
      console.log('Private Key:', ECKeys.getPrivateKey(keys));
      console.log('Public Key:', ECKeys.getPublicKey(keys));