C# 클래스 Universal.Torrent.Client.Encryption.ModuloCalculator

Class to facilitate the calculation of a^b mod p, where a and b are large integers and p is the predefined prime from message stream encryption.
파일 보기 프로젝트 열기: haroldma/Universal.Torrent 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Two Universal.Torrent.Client.Encryption.BigInteger.BigInteger

공개 메소드들

메소드 설명
Calculate ( BigInteger a, BigInteger b ) : byte[]
Calculate ( BigInteger a, byte b ) : byte[]
Calculate ( byte a, BigInteger b ) : byte[]
Calculate ( byte a, byte b ) : byte[]

메소드 상세

Calculate() 공개 정적인 메소드

public static Calculate ( BigInteger a, BigInteger b ) : byte[]
a BigInteger
b BigInteger
리턴 byte[]

Calculate() 공개 정적인 메소드

public static Calculate ( BigInteger a, byte b ) : byte[]
a BigInteger
b byte
리턴 byte[]

Calculate() 공개 정적인 메소드

public static Calculate ( byte a, BigInteger b ) : byte[]
a byte
b BigInteger
리턴 byte[]

Calculate() 공개 정적인 메소드

public static Calculate ( byte a, byte b ) : byte[]
a byte
b byte
리턴 byte[]

프로퍼티 상세

Two 공개적으로 정적으로 프로퍼티

public static BigInteger,Universal.Torrent.Client.Encryption.BigInteger Two
리턴 Universal.Torrent.Client.Encryption.BigInteger.BigInteger