/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/tests/ |
H A D | HmacTests.cs | 54 computedDigest = hmac.ComputeHash(_testData[testCaseId]); in VerifyHmac() 75 computedDigest = hmac.ComputeHash(_testData[testCaseId]); in VerifyHmac_KeyAlreadySet() 96 byte[] expectedKey = CreateHashAlgorithm().ComputeHash(overSizedKey); in VerifyHmacRfc2104_2() 102 byte[] expectedHash = hmac.ComputeHash(data); in VerifyHmacRfc2104_2() 105 byte[] actualHash = hmac.ComputeHash(data); in VerifyHmacRfc2104_2() 169 byte[] emptyHash = hash.ComputeHash(Array.Empty<byte>()); in BoundaryCondition_Count0() 174 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, 0, 0); in BoundaryCondition_Count0() 180 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, nonEmpty.Length, 0); in BoundaryCondition_Count0() 183 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, 0, 0); in BoundaryCondition_Count0() 196 byte[] baseline = hash.ComputeHash(dataA); in OffsetAndCountRespected() [all …]
|
H A D | HashAlgorithmTest.cs | 29 actual = hash.ComputeHash(input); in VerifyComputeHashStream() 132 byte[] actual = hash.ComputeHash(block2, 0, block2.Length); in VerifyTransformBlockComputeHashInteraction() 140 actual = hash.ComputeHash(Array.Empty<byte>(), 0, 0); in VerifyTransformBlockComputeHashInteraction() 146 actual = hash.ComputeHash(Array.Empty<byte>(), 0, 0); in VerifyTransformBlockComputeHashInteraction() 223 actual = hash.ComputeHash(input, 0, input.Length); in Verify_Array() 306 byte[] emptyHash = hash.ComputeHash(Array.Empty<byte>()); in BoundaryCondition_Count0() 311 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, 0, 0); in BoundaryCondition_Count0() 317 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, nonEmpty.Length, 0); in BoundaryCondition_Count0() 320 shouldBeEmptyHash = hash.ComputeHash(nonEmpty, 0, 0); in BoundaryCondition_Count0() 333 byte[] baseline = hash.ComputeHash(dataA); in OffsetAndCountRespected() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Primitives/tests/ |
H A D | SimpleHashAlgorithmTest.cs | 79 result = hash.ComputeHash(stream); in ValidateStreamContents() 110 Assert.Throws<ArgumentNullException>(() => hash.ComputeHash((byte[])null)); in HashFullArrayInvalidArguments() 114 Assert.Throws<ObjectDisposedException>(() => hash.ComputeHash(s_tenBytes)); in HashFullArrayInvalidArguments() 141 Assert.Throws<NullReferenceException>(() => hash.ComputeHash((Stream)null)); in StreamHashInvalidArguments() 145 Assert.Throws<ObjectDisposedException>(() => hash.ComputeHash(stream)); in StreamHashInvalidArguments() 155 Assert.Throws<NullReferenceException>(() => hash.ComputeHash((Stream)null)); in ClearIsDispose() 159 Assert.Throws<ObjectDisposedException>(() => hash.ComputeHash(stream)); in ClearIsDispose() 171 result = hash.ComputeHash(array); in ArrayHash() 183 result = hash.ComputeHash(array, offset, count); in ArrayHash() 196 result = hash.ComputeHash(stream); in StreamHash() [all …]
|
/dports/sysutils/b2sum/BLAKE2-20190724/csharp/Blake2Sharp/ |
H A D | Blake2B.cs | 48 public static byte[] ComputeHash(byte[] data, int start, int count) in ComputeHash() method in Blake2Sharp.Blake2B 50 return ComputeHash(data, start, count, null); in ComputeHash() 53 public static byte[] ComputeHash(byte[] data) in ComputeHash() method in Blake2Sharp.Blake2B 55 return ComputeHash(data, 0, data.Length, null); in ComputeHash() 58 public static byte[] ComputeHash(byte[] data, Blake2BConfig config) in ComputeHash() method in Blake2Sharp.Blake2B 60 return ComputeHash(data, 0, data.Length, config); in ComputeHash() 63 public static byte[] ComputeHash(byte[] data, int start, int count, Blake2BConfig config) in ComputeHash() method in Blake2Sharp.Blake2B
|
/dports/security/softether5/SoftEtherVPN-5.02.5180/3rdparty/BLAKE2/csharp/Blake2Sharp/ |
H A D | Blake2B.cs | 48 public static byte[] ComputeHash(byte[] data, int start, int count) in ComputeHash() method in Blake2Sharp.Blake2B 50 return ComputeHash(data, start, count, null); in ComputeHash() 53 public static byte[] ComputeHash(byte[] data) in ComputeHash() method in Blake2Sharp.Blake2B 55 return ComputeHash(data, 0, data.Length, null); in ComputeHash() 58 public static byte[] ComputeHash(byte[] data, Blake2BConfig config) in ComputeHash() method in Blake2Sharp.Blake2B 60 return ComputeHash(data, 0, data.Length, config); in ComputeHash() 63 public static byte[] ComputeHash(byte[] data, int start, int count, Blake2BConfig config) in ComputeHash() method in Blake2Sharp.Blake2B
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/ |
H A D | HashAlgorithmTestBase.cs | 123 hash.ComputeHash (inputABC); in Clear() 126 hash.ComputeHash (inputABC); in Clear() 135 hash.ComputeHash (ms); in Clear2() 138 hash.ComputeHash (ms); in Clear2() 146 hash.ComputeHash (s); in NullStream() 161 hash.ComputeHash (new byte [0]); in InitializeDisposed() 164 hash.ComputeHash (new byte [0]); in InitializeDisposed() 172 hash.ComputeHash (array); in ComputeHash_ArrayNull() 180 hash.ComputeHash (array, 0, 0); in ComputeHash_ArrayNullIntInt() 188 hash.ComputeHash (array, -1, 0); in ComputeHash_OffsetNegative() [all …]
|
H A D | MD5Test.cs | 26 byte [] result = md5.ComputeHash (dato_vacio); in ComputeHashNull() 41 byte [] result = md5.ComputeHash (dato_a); in ComputeHashA() 56 byte[] result = md5.ComputeHash (dato_b); in ComputeHashB()
|
/dports/games/0ad/0ad-0.0.23b-alpha/source/simulation2/serialization/ |
H A D | HashSerializer.cpp | 32 const u8* CHashSerializer::ComputeHash() in ComputeHash() function in CHashSerializer 34 return m_Impl.ComputeHash(); in ComputeHash() 42 const u8* CHashSerializerImpl::ComputeHash() in ComputeHash() function in CHashSerializerImpl
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity/System/Data/Mapping/ |
H A D | MetadataMappingHasherVisitor.HashSourceBuilder.cs | 84 string hash = ComputeHash(); in CompressHash() 139 internal string ComputeHash() in ComputeHash() method in System.Data.Mapping.StringHashBuilder 165 byte[] hash = _hashAlgorithm.ComputeHash(_cachedBuffer, 0, byteCount); in ComputeHash() 206 public static string ComputeHash(HashAlgorithm hashAlgorithm, string source) in ComputeHash() method in System.Data.Mapping.StringHashBuilder 210 return builder.ComputeHash(); in ComputeHash()
|
/dports/security/beid/eid-mw-5.0.8/plugins_tools/eid-viewer/Windows/eIDDataSignCheck/Sources/ |
H A D | SignCheckVerify.cs | 81 HashValue = sha.ComputeHash(data); in CheckRNSignature() 86 HashValue = sha.ComputeHash(data); in CheckRNSignature() 128 HashValue = sha.ComputeHash(data); in CheckShaHash() 133 HashValue = sha.ComputeHash(data); in CheckShaHash()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/System.Security.Cryptography/ |
H A D | DSACryptoServiceProvider.cs | 179 byte[] toBeSigned = hash.ComputeHash (buffer); in SignData() 187 byte[] toBeSigned = hash.ComputeHash (buffer, offset, count); in SignData() 195 byte[] toBeSigned = hash.ComputeHash (inputStream); in SignData() 214 byte[] toBeVerified = hash.ComputeHash (rgbData); in VerifyData() 243 return hash.ComputeHash (data, offset, count); in HashData() 254 return hash.ComputeHash (data); in HashData()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Managed/ |
H A D | AuthenticationHelper.Digest.cs | 110 … sb.AppendKeyValue(Username, ComputeHash(credential.UserName + ":" + realm, algorithm)); in GetDigestTokenForCredential() 168 a1 = ComputeHash(a1, algorithm) + ":" + nonce + ":" + cnonce; in GetDigestTokenForCredential() 175 a2 = a2 + ":" + ComputeHash(content, algorithm); in GetDigestTokenForCredential() 178 string response = ComputeHash(ComputeHash(a1, algorithm) + ":" + in GetDigestTokenForCredential() 183 ComputeHash(a2, algorithm), algorithm); in GetDigestTokenForCredential() 230 private static string ComputeHash(string data, string algorithm) in ComputeHash() method in System.Net.Http.AuthenticationHelper 238 byte[] result = hash.ComputeHash(enc.GetBytes(data)); in ComputeHash()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Core/Test/System.Security.Cryptography/ |
H A D | MD5CngTest.cs | 40 byte [] result = md5.ComputeHash (dato_vacio); in ComputeHashNull() 54 byte [] result = md5.ComputeHash (dato_a); in ComputeHashA() 68 byte[] result = md5.ComputeHash (dato_b); in ComputeHashB()
|
/dports/security/beid/eid-mw-5.0.8/plugins_tools/eid-viewer/Windows/eIDDataSignCheck/ |
H A D | MainWindow.xaml.cs | 115 theBackendData.photo_hash = sha.ComputeHash(theBackendData.photoFile); in Photo_Click() 120 theBackendData.photo_hash = sha.ComputeHash(theBackendData.photoFile); in Photo_Click() 153 theBackendData.photo_hash = sha.ComputeHash(theBackendData.photoFile); in HashType_OnSelectionChanged() 162 theBackendData.photo_hash = sha.ComputeHash(theBackendData.photoFile); in HashType_OnSelectionChanged()
|
/dports/www/firefox-legacy/firefox-52.8.0esr/image/ |
H A D | ImageCacheKey.cpp | 65 mHash = ComputeHash(mURI, mBlobSerial, mOriginAttributes, mControlledDocument); in __anon7fb625820102() 82 mHash = ComputeHash(mURI, mBlobSerial, mOriginAttributes, mControlledDocument); 132 ImageCacheKey::ComputeHash(ImageURL* aURI, 144 return AddToHash(0, aURI->ComputeHash(aBlobSerial),
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/rappor/ |
H A D | bloom_filter.cc | 18 uint32_t ComputeHash(const std::string& str, uint32_t seed) { in ComputeHash() function 43 uint32_t index = ComputeHash(str, hash_seed_offset_ + i); in SetString() 63 ComputeHash(str, hash_seed_offset + i)); in GetBloomBits()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/rappor/ |
H A D | bloom_filter.cc | 18 uint32_t ComputeHash(const std::string& str, uint32_t seed) { in ComputeHash() function 43 uint32_t index = ComputeHash(str, hash_seed_offset_ + i); in SetString() 63 ComputeHash(str, hash_seed_offset + i)); in GetBloomBits()
|
/dports/misc/usd/USD-21.11/pxr/imaging/hd/ |
H A D | bufferSource.cpp | 46 HdBufferSource::ComputeHash() const in ComputeHash() function in HdBufferSource 84 HdComputedBufferSource::ComputeHash() const in ComputeHash() function in HdComputedBufferSource 131 HdNullBufferSource::ComputeHash() const in ComputeHash() function in HdNullBufferSource
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/include/llvm/ADT/ |
H A D | FoldingSet.h | 231 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID); 254 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID, 278 unsigned ComputeHash() const; 323 unsigned ComputeHash() const; 352 DefaultFoldingSetTrait<T>::ComputeHash(T &X, FoldingSetNodeID &TempID) { in ComputeHash() function 354 return TempID.ComputeHash(); in ComputeHash() 367 DefaultContextualFoldingSetTrait<T, Ctx>::ComputeHash(T &X, in ComputeHash() function 371 return TempID.ComputeHash(); in ComputeHash() 399 return FoldingSetTrait<T>::ComputeHash(*TN, TempID); in ComputeNodeHash() 475 return ContextualFoldingSetTrait<T, Ctx>::ComputeHash(*TN, TempID, Context); in ComputeNodeHash()
|
/dports/lang/spidermonkey60/firefox-60.9.0/image/ |
H A D | ImageCacheKey.cpp | 60 mHash = ComputeHash(mURI, mBlobSerial, mOriginAttributes, mControlledDocument, in ImageCacheKey() 77 mHash = ComputeHash(mURI, mBlobSerial, mOriginAttributes, mControlledDocument, in ImageCacheKey() 124 /* static */ PLDHashNumber ImageCacheKey::ComputeHash( in ComputeHash() function in mozilla::image::ImageCacheKey 135 return AddToHash(0, aURI->ComputeHash(aBlobSerial), HashString(suffix), in ComputeHash()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Csp/src/System/Security/Cryptography/ |
H A D | DSACryptoServiceProvider.Windows.cs | 359 byte[] hashVal = _sha1.ComputeHash(inputStream); in SignData() 370 byte[] hashVal = _sha1.ComputeHash(buffer); in SignData() 383 byte[] hashVal = _sha1.ComputeHash(buffer, offset, count); in SignData() 395 byte[] hashVal = _sha1.ComputeHash(rgbData); in VerifyData() 427 return _sha1.ComputeHash(data, offset, count); in HashData() 441 return _sha1.ComputeHash(data); in HashData()
|
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/go-git/go-git/v5/plumbing/ |
H A D | hash_test.go | 16 hash := ComputeHash(BlobObject, []byte("")) 19 hash = ComputeHash(BlobObject, []byte("Hello, World!\n")) 24 hash := ComputeHash(BlobObject, []byte("Hello, World!\n"))
|
/dports/net/cloudquery/cloudquery-0.16.0/vendor/github.com/go-git/go-git/v5/plumbing/ |
H A D | hash_test.go | 16 hash := ComputeHash(BlobObject, []byte("")) 19 hash = ComputeHash(BlobObject, []byte("Hello, World!\n")) 24 hash := ComputeHash(BlobObject, []byte("Hello, World!\n"))
|
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/go-git/go-git/v5/plumbing/ |
H A D | hash_test.go | 16 hash := ComputeHash(BlobObject, []byte("")) 19 hash = ComputeHash(BlobObject, []byte("Hello, World!\n")) 24 hash := ComputeHash(BlobObject, []byte("Hello, World!\n"))
|
/dports/devel/lazygit/lazygit-0.31.4/vendor/github.com/jesseduffield/go-git/v5/go-git-341962be15a4/plumbing/ |
H A D | hash_test.go | 16 hash := ComputeHash(BlobObject, []byte("")) 19 hash = ComputeHash(BlobObject, []byte("Hello, World!\n")) 24 hash := ComputeHash(BlobObject, []byte("Hello, World!\n"))
|