Class EcdhSharedSecretImpl
java.lang.Object
org.bitcoinj.secp.internal.EcdhSharedSecretImpl
- All Implemented Interfaces:
EcdhSharedSecret
A secp256k1 ECDH shared secret, stored as a
ByteArray.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EcdhSharedSecretImpl
public EcdhSharedSecretImpl(byte[] bytes)
-
-
Method Details
-
bytes
public byte[] bytes()Description copied from interface:EcdhSharedSecretGet the 32-byte hash as abyte[]- Specified by:
bytesin interfaceEcdhSharedSecret- Returns:
- the secret bytes
-
hashCode
-
equals
-