Show / Hide Table of Contents

Class Sha512

Inheritance
object
Sha512
Implements
IBytesSink
Namespace: Xrpl.BinaryCodec.Hashing
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Sha512 : IBytesSink

Constructors

| Edit this page View Source

Sha512()

Declaration
public Sha512()
| Edit this page View Source

Sha512(byte[])

Declaration
public Sha512(byte[] start)
Parameters
Type Name Description
byte[] start
| Edit this page View Source

Sha512(uint)

Declaration
public Sha512(uint prefix)
Parameters
Type Name Description
uint prefix

Methods

| Edit this page View Source

Add(byte)

Declaration
public Sha512 Add(byte one)
Parameters
Type Name Description
byte one
Returns
Type Description
Sha512
| Edit this page View Source

Add(byte[])

Declaration
public Sha512 Add(byte[] bytes)
Parameters
Type Name Description
byte[] bytes
Returns
Type Description
Sha512
| Edit this page View Source

AddU32(uint)

Declaration
public Sha512 AddU32(uint i)
Parameters
Type Name Description
uint i
Returns
Type Description
Sha512
| Edit this page View Source

Finish()

Declaration
public byte[] Finish()
Returns
Type Description
byte[]
| Edit this page View Source

Finish128()

Declaration
public byte[] Finish128()
Returns
Type Description
byte[]
| Edit this page View Source

Finish256()

Declaration
public byte[] Finish256()
Returns
Type Description
byte[]
| Edit this page View Source

Half(byte[], uint?)

Declaration
public static byte[] Half(byte[] input, uint? prefix = null)
Parameters
Type Name Description
byte[] input
uint? prefix
Returns
Type Description
byte[]
| Edit this page View Source

Put(byte)

Write bytes to this BinarySerializer

Declaration
public void Put(byte aByte)
Parameters
Type Name Description
byte aByte

byte to write

| Edit this page View Source

Put(byte[])

Write bytes to this BinarySerializer

Declaration
public void Put(byte[] bytes)
Parameters
Type Name Description
byte[] bytes

the bytes to write

| Edit this page View Source

Quarter(byte[])

Declaration
public static byte[] Quarter(byte[] input)
Parameters
Type Name Description
byte[] input
Returns
Type Description
byte[]

Implements

IBytesSink
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX