OcbBlockCipher Class

Definition

Namespace: Org.BouncyCastle.Crypto.Modes
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class OcbBlockCipher : IAeadBlockCipher, 
	IAeadCipher
Inheritance
Object    OcbBlockCipher
Implements
IAeadBlockCipher, IAeadCipher

Remarks

For those still concerned about the original patents around this, please see:

https://mailarchive.ietf.org/arch/msg/cfrg/qLTveWOdTJcLn4HP3ev-vrj05Vg/

Text reproduced below:

Phillip Rogaway<rogaway@cs.ucdavis.edu> Sat, 27 February 2021 02:46 UTC I can confirm that I have abandoned all OCB patents and placed into the public domain all OCB-related IP of mine. While I have been telling people this for quite some time, I don't think I ever made a proper announcement to the CFRG or on the OCB webpage. Consider that done.

Constructors

OcbBlockCipherInitializes a new instance of the OcbBlockCipher class

Properties

Methods

Clear 
DoFinal(SpanByte) 
DoFinal(Byte, Int32) 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetBlockSize 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLSub 
GetMac 
GetOutputSize 
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetUpdateOutputSize 
Init 
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OCB_double 
OCB_extend 
OCB_ntz 
ProcessAadByte 
ProcessAadBytes(ReadOnlySpanByte) 
ProcessAadBytes(Byte, Int32, Int32) 
ProcessByte(Byte, SpanByte) 
ProcessByte(Byte, Byte, Int32) 
ProcessBytes(ReadOnlySpanByte, SpanByte) 
ProcessBytes(Byte, Int32, Int32, Byte, Int32) 
ProcessHashBlock 
ProcessMainBlock(SpanByte) 
ProcessMainBlock(Byte, Int32) 
ProcessNonce 
Reset 
Reset(Boolean) 
ShiftLeft 
ToStringReturns a string that represents the current object.
(Inherited from Object)
UpdateHASH 
Xor 

See Also