Uses of Class
org.drasyl.handler.remote.protocol.Nonce
Packages that use Nonce
Package
Description
Classes for crypto-related operations.
Contains classes necessary for encrypted peer/application communication.
-
Uses of Nonce in org.drasyl.crypto
Methods in org.drasyl.crypto with parameters of type NonceModifier and TypeMethodDescriptionbyte[]Crypto.decrypt(byte[] cipher, byte[] authTag, Nonce nonce, SessionPair sessionPair) Decrypt the givencipher, by verify theauthTagas an authentication tag, uses the givennonceand decrypting with the rx part of thesessionPair.byte[]Crypto.encrypt(byte[] message, byte[] authTag, Nonce nonce, SessionPair sessionPair) Encrypts the givenmessage, by addingauthTagas an authentication tag, using the given (hopefully fresh)nonceand encrypting with the tx part of thesessionPair. -
Uses of Nonce in org.drasyl.handler.remote.protocol
Methods in org.drasyl.handler.remote.protocol that return Nonce -
Uses of Nonce in org.drasyl.node.handler.crypto
Methods in org.drasyl.node.handler.crypto that return NonceMethods in org.drasyl.node.handler.crypto with parameters of type NonceModifier and TypeMethodDescriptionstatic ArmHeaderArmHeader.of(AgreementId agreementId, Nonce nonce, io.netty.buffer.ByteBuf data) protected ObjectAbstractArmHandler.unarm(io.netty.channel.ChannelHandlerContext ctx, Agreement agreement, Nonce nonce, io.netty.buffer.ByteBuf byteBuf) Constructors in org.drasyl.node.handler.crypto with parameters of type NonceModifierConstructorDescriptionArmHeader(AgreementId agreementId, Nonce nonce, io.netty.buffer.ByteBuf data)