Class Ecies

java.lang.Object
io.github.cdimascio.ecies.Ecies

public class Ecies extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte[]
    decrypt(byte[] privateKeyBytes, byte[] cipherBytes)
    Decrypts given ciphertext with a given private key
    static String
    decrypt(String privateKeyHex, String ciphertext)
    Decrypts given ciphertext with a given private key
    static byte[]
    encrypt(byte[] publicKeyBytes, byte[] message)
    Encrypts a given message with a given public key
    static String
    encrypt(String publicKeyHex, String message)
    Encrypts a given message with a given public key in hex
    static ECKeyPair
    Generates new key pair consists of ECPublicKey and ECPrivateKey

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait