Lines Matching refs:digest

64 module std.digest;
75 import std.digest.crc;
92 import std.digest.crc, std.digest.md, std.digest.sha;
100 auto result = digest!Hash(file.byChunk(4096 * 1024));
118 import std.digest.crc, std.digest.md, std.digest.sha;
157 import std.digest.crc, std.digest.md, std.digest.sha;
263 import std.digest.md;
302 import std.digest.crc;
308 import std.digest.crc;
340 import std.digest.crc;
346 import std.digest.crc;
376 import std.digest.crc, std.digest.md;
383 import std.digest.crc;
408 import std.digest.hmac, std.digest.md;
415 import std.digest.md;
432 DigestType!Hash digest(Hash, Range)(auto ref Range range)
497 import std.digest.md;
500 auto md5 = digest!MD5(testRange);
509 DigestType!Hash digest(Hash, T...)(scope const T data)
522 import std.digest.crc, std.digest.md, std.digest.sha;
523 auto md5 = digest!MD5( "The quick brown fox jumps over the lazy dog");
524 auto sha1 = digest!SHA1( "The quick brown fox jumps over the lazy dog");
525 auto crc32 = digest!CRC32("The quick brown fox jumps over the lazy dog");
532 import std.digest.crc;
533 auto crc32 = digest!CRC32("The quick ", "brown ", "fox jumps over the lazy dog");
549 return toHexString!order(digest!Hash(range));
555 import std.digest.md;
571 return toHexString!order(digest!Hash(data));
577 import std.digest.crc;
583 import std.digest.crc;
601 import std.digest.md;
669 final @trusted nothrow ubyte[] digest(scope const(void[])[] data...)
683 import std.digest.md;
695 import std.digest.crc, std.digest.md, std.digest.sha;
696 ubyte[] md5 = (new MD5Digest()).digest("The quick brown fox jumps over the lazy dog");
697 ubyte[] sha1 = (new SHA1Digest()).digest("The quick brown fox jumps over the lazy dog");
698 ubyte[] crc32 = (new CRC32Digest()).digest("The quick brown fox jumps over the lazy dog");
705 import std.digest.crc;
706 … ubyte[] crc32 = (new CRC32Digest()).digest("The quick ", "brown ", "fox jumps over the lazy dog");
743 import std.digest.crc : CRC32;
745 auto crc32 = digest!CRC32("The quick ", "brown ", "fox jumps over the lazy dog");
769 (const ubyte[num] digest)
774 toHexStringImpl!(order, letterCase)(digest, result);
779 …oHexString(LetterCase letterCase, Order order = Order.increasing, size_t num)(in ubyte[num] digest)
781 return toHexString!(order, num, letterCase)(digest);
786 (in ubyte[] digest)
788 auto result = new char[digest.length*2];
789 toHexStringImpl!(order, letterCase)(digest, result);
796 string toHexString(LetterCase letterCase, Order order = Order.increasing)(in ubyte[] digest)
798 return toHexString!(order, letterCase)(digest);
806 import std.digest.crc;
808 auto crc32 = digest!CRC32("The quick ", "brown ", "fox jumps over the lazy dog");
819 import std.digest.crc;
821 auto crc32 = (new CRC32Digest()).digest("The quick ", "brown ", "fox jumps over the lazy dog");
899 import std.digest.md : MD5;
900 import std.digest.sha : SHA1, SHA256, SHA512;
1036 import std.digest.md;
1047 import std.digest.md;
1060 import std.digest.crc;
1161 import std.digest.hmac : hmac;
1162 import std.digest.sha : SHA1;