fr
.
acinq
.
eclair
.
crypto
.
Noise
InitializedCipherState
Related Doc:
package Noise
case class
InitializedCipherState
(
k:
ByteVector
,
n:
Long
,
cipher:
CipherFunctions
)
extends
CipherState
with
Product
with
Serializable
Initialized cipher state
k
key
n
nonce
cipher
cipher functions
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
CipherState
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
InitializedCipherState
Serializable
Serializable
Product
Equals
CipherState
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
InitializedCipherState
(
k:
ByteVector
,
n:
Long
,
cipher:
CipherFunctions
)
k
key
n
nonce
cipher
cipher functions
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
cipher
:
CipherFunctions
cipher functions
cipher functions
Definition Classes
InitializedCipherState
→
CipherState
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
decryptWithAd
(
ad:
ByteVector
,
ciphertext:
ByteVector
)
: (
CipherState
,
ByteVector
)
Definition Classes
InitializedCipherState
→
CipherState
def
encryptWithAd
(
ad:
ByteVector
,
plaintext:
ByteVector
)
: (
CipherState
,
ByteVector
)
Definition Classes
InitializedCipherState
→
CipherState
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasKey
:
Boolean
Definition Classes
InitializedCipherState
→
CipherState
def
initializeKey
(
key:
ByteVector
)
:
CipherState
Definition Classes
CipherState
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
k
:
ByteVector
key
val
n
:
Long
nonce
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
CipherState
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Initialized cipher state
key
nonce
cipher functions