Packages

object EthECIES

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EthECIES
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class EncryptedBlock extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val CipherKeyBits: Int
  5. val CipherKeyBytes: Int
  6. val Curve: Fp
  7. val CurveInfo: (ECDomainParameters, Fp)
  8. val CurveParams: ECDomainParameters
  9. def DerivationVector: Array[Byte]
  10. val DigestBits: Int
  11. val DigestBytes: Int
  12. val EmptyByteArray: Array[Byte]
  13. val EncodedPublicKeyLen: Int
  14. def EncodingVector: Array[Byte]
  15. val KdfCounterStart: Int
  16. val MacBits: Int
  17. val MacBytes: Int
  18. val MacKeyBits: Int
  19. val MacKeyBytes: Int
  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  22. def createCipher(encrypt: Boolean, key: Array[Byte], initializationVector: Array[Byte]): BufferedBlockCipher
  23. def createDigest(): Digest
  24. def createMac(): Mac
  25. def createRandom(): SecureRandom
  26. def decryptBlock(to: ECPrivateKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]

    Accepts the concatenation of an ephemeral public sender key, ciphertext and MAC in a byte array.

  27. def decryptBlock(from: ECPublicKeyParameters, to: ECPrivateKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]

    Requires the sender's known public key.

    Requires the sender's known public key.

    Accepts the concatenation of ciphertext and MAC in a byte array.

  28. def doDecryptBlock(mbEmbeddedEncodedPublicKey: Option[Array[Byte]], sharedSecret: Array[Byte], derivationVector: Array[Byte], encodingVector: Array[Byte], initializationVector: Array[Byte], in: Array[Byte], inOffset: Int, inLen: Int): Array[Byte]
  29. def doEncryptBlock(mbEmbeddedEncodedPublicKey: Option[Array[Byte]], sharedSecret: Array[Byte], derivationVector: Array[Byte], encodingVector: Array[Byte], initializationVector: Array[Byte], in: Array[Byte], inOffset: Int, inLen: Int): Array[Byte]
  30. def ecdheSharedSecret(myPriv: EthPrivateKey, yourPub: EthPublicKey): Array[Byte]
  31. def ecdheSharedSecret(myPriv: ECPrivateKeyParameters, yourPub: ECPublicKeyParameters): Array[Byte]
  32. def encodePublicKey(pub: ECPublicKeyParameters): Array[Byte]
  33. def encryptBlock(to: ECPublicKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]

    Returns the concatenation of an ephemeral sender public key, ciphertext and MAC in a byte array.

  34. def encryptBlock(from: ECPrivateKeyParameters, to: ECPublicKeyParameters, initializationVector: Array[Byte], mbSharedSecret: Option[Array[Byte]], bytes: Array[Byte], offset: Int, len: Int): Array[Byte]

    Returns the concatenation of ciphertext and MAC in a byte array.

  35. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  37. def generateEphemeralKeyPair(random: SecureRandom = createRandom()): (ECPrivateKeyParameters, ECPublicKeyParameters)
  38. def generateInitializationVector(random: SecureRandom = createRandom()): Array[Byte]
  39. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def kdf(sharedSecret: Array[Byte], initializationVector: Array[Byte], len: Int): Array[Byte]
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  46. def readEncodedPublicKey(keyBytes: Array[Byte]): ECPublicKeyParameters
  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. implicit def toECPrivateKeyParameters(ethPriv: EthPrivateKey): ECPrivateKeyParameters
  49. implicit def toECPublicKeyParameters(ethPub: EthPublicKey): ECPublicKeyParameters
  50. def toEthKeyPair(rawKeyPair: (ECPrivateKeyParameters, ECPublicKeyParameters)): EthKeyPair
  51. implicit def toEthPrivateKey(priv: ECPrivateKeyParameters): EthPrivateKey
  52. implicit def toEthPublicKey(pub: ECPublicKeyParameters): EthPublicKey
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. object EncryptedBlock

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped