Class OctoTrustAESCurve
java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.octo.trust.OctoTrustAESCurve
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigInteger
calculateKeyAgreement
(BigInteger privKey, BigInteger theirPubKey) static String
decrypt
(BigInteger key, String encryptedMsg) static String
encrypt
(BigInteger key, String msg)
-
Constructor Details
-
OctoTrustAESCurve
public OctoTrustAESCurve()
-
-
Method Details
-
calculateKeyAgreement
-
encrypt
-
decrypt
-