Best JavaScript code snippet using redwood
Dc.js
Source:Dc.js
...101const PGPHASHALGO_HAMSI_384 = 248+2; /*!< (private) HAMSI-384 */102const PGPHASHALGO_HAMSI_512 = 248+3; /*!< (private) HAMSI-512 */103var GPSEE = require('rpmdc');104var dc = new GPSEE.Dc();105ack("typeof dc;", "object");106ack("dc instanceof GPSEE.Dc;", true);107ack("dc.debug = 1;", 1);108ack("dc.debug = 0;", 0);109var str = 'abc';110var md2 = new GPSEE.Dc(PGPHASHALGO_MD2);111ack("md2(str);", 'da853b0d3f88d99b30283a69e6ded6bb');112ack("md2.init(PGPHASHALGO_MD2);", true);113ack("md2.algo", PGPHASHALGO_MD2);114ack("md2.asn1", "3020300c06082a864886f70d020205000410");115ack("md2.name", "MD2");116ack("md2.update(str);", true);117ack("md2.fini();", 'da853b0d3f88d99b30283a69e6ded6bb');118var md4 = new GPSEE.Dc(PGPHASHALGO_MD4);119ack("md4(str);", 'a448017aaf21d8525fc10ae87aa6729d');120ack("md4.init(PGPHASHALGO_MD4);", true);121ack("md4.algo", PGPHASHALGO_MD4);122ack("md4.asn1", null);123ack("md4.name", "MD4");124ack("md4.update(str);", true);125ack("md4.fini();", 'a448017aaf21d8525fc10ae87aa6729d');126var md5 = new GPSEE.Dc(PGPHASHALGO_MD5);127ack("md5(str);", '900150983cd24fb0d6963f7d28e17f72');128ack("md5.init(PGPHASHALGO_MD5);", true);129ack("md5.algo", PGPHASHALGO_MD5);130ack("md5.asn1", "3020300c06082a864886f70d020505000410");131ack("md5.name", "MD5");132ack("md5.update(str);", true);133ack("md5.fini();", '900150983cd24fb0d6963f7d28e17f72');134var sha1 = new GPSEE.Dc(PGPHASHALGO_SHA1);135ack("sha1(str);", 'a9993e364706816aba3e25717850c26c9cd0d89d');136ack("sha1.init(PGPHASHALGO_SHA1);", true);137ack("sha1.algo", PGPHASHALGO_SHA1);138ack("sha1.asn1", "3021300906052b0e03021a05000414");139ack("sha1.name", "SHA1");140ack("sha1.update(str);", true);141ack("sha1.fini();", 'a9993e364706816aba3e25717850c26c9cd0d89d');142var sha224 = new GPSEE.Dc(PGPHASHALGO_SHA224);143ack("sha224(str);", '23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7');144ack("sha224.init(PGPHASHALGO_SHA224);", true);145ack("sha224.algo", PGPHASHALGO_SHA224);146ack("sha224.asn1", "302d300d06096086480165030402040500041C");147ack("sha224.name", "SHA224");148ack("sha224.update(str);", true);149ack("sha224.fini();", '23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7');150var sha256 = new GPSEE.Dc(PGPHASHALGO_SHA256);151ack("sha256(str);", 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad');152ack("sha256.init(PGPHASHALGO_SHA256);", true);153ack("sha256.algo", PGPHASHALGO_SHA256);154ack("sha256.asn1", "3031300d060960864801650304020105000420");155ack("sha256.name", "SHA256");156ack("sha256.update(str);", true);157ack("sha256.fini();", 'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad');158var sha384 = new GPSEE.Dc(PGPHASHALGO_SHA384);159ack("sha384(str);", 'cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7');160ack("sha384.init(PGPHASHALGO_SHA384);", true);161ack("sha384.algo", PGPHASHALGO_SHA384);162ack("sha384.asn1", "3041300d060960864801650304020205000430");163ack("sha384.name", "SHA384");164ack("sha384.update(str);", true);165ack("sha384.fini();", 'cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7');166var sha512 = new GPSEE.Dc(PGPHASHALGO_SHA512);167ack("sha512(str);", 'ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f');168ack("sha512.init(PGPHASHALGO_SHA512);", true);169ack("sha512.algo", PGPHASHALGO_SHA512);170ack("sha512.asn1", "3051300d060960864801650304020305000440");171ack("sha512.name", "SHA512");172ack("sha512.update(str);", true);173ack("sha512.fini();", 'ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f');174var salsa10 = new GPSEE.Dc(PGPHASHALGO_SALSA10);175ack("salsa10(str);", '699d0db4d264ce8ba8a1bf74734a29372b689d64c985aa5a037c6e11cbdf328270d58c699523ffc2d10bcc6f9ce167fb63528ea4ef0681fe8172297f9c92d72f');176ack("salsa10.init(PGPHASHALGO_SALSA10);", true);177ack("salsa10.algo", PGPHASHALGO_SALSA10);178ack("salsa10.asn1", null);179ack("salsa10.name", "SALSA10");180ack("salsa10.update(str);", true);181ack("salsa10.fini();", '699d0db4d264ce8ba8a1bf74734a29372b689d64c985aa5a037c6e11cbdf328270d58c699523ffc2d10bcc6f9ce167fb63528ea4ef0681fe8172297f9c92d72f');182var salsa20 = new GPSEE.Dc(PGPHASHALGO_SALSA20);183ack("salsa20(str);", 'fc4f496bb7a2fbe942d170dd42ebaaf6aec7fd9d6563d0563f81ffed6e6ff5cb595237462577ab41efd8c3815f20205a905ad5fd647de1ce2d37894e6671d6a7');184ack("salsa20.init(PGPHASHALGO_SALSA20);", true);185ack("salsa20.algo", PGPHASHALGO_SALSA20);186ack("salsa20.asn1", null);187ack("salsa20.name", "SALSA20");188ack("salsa20.update(str);", true);189ack("salsa20.fini();", 'fc4f496bb7a2fbe942d170dd42ebaaf6aec7fd9d6563d0563f81ffed6e6ff5cb595237462577ab41efd8c3815f20205a905ad5fd647de1ce2d37894e6671d6a7');190var ripemd128 = new GPSEE.Dc(PGPHASHALGO_RIPEMD128);191ack("ripemd128(str);", 'c14a12199c66e4ba84636b0f69144c77');192ack("ripemd128.init(PGPHASHALGO_RIPEMD128);", true);193ack("ripemd128.algo", PGPHASHALGO_RIPEMD128);194ack("ripemd128.asn1", null);195ack("ripemd128.name", "RIPEMD128");196ack("ripemd128.update(str);", true);197ack("ripemd128.fini();", 'c14a12199c66e4ba84636b0f69144c77');198var ripemd160 = new GPSEE.Dc(PGPHASHALGO_RIPEMD160);199ack("ripemd160(str);", '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc');200ack("ripemd160.init(PGPHASHALGO_RIPEMD160);", true);201ack("ripemd160.algo", PGPHASHALGO_RIPEMD160);202ack("ripemd160.asn1", "3021300906052b2403020105000414");203ack("ripemd160.name", "RIPEMD160");204ack("ripemd160.update(str);", true);205ack("ripemd160.fini();", '8eb208f7e05d987a9b044a8e98c6b087f15a0bfc');206var ripemd256 = new GPSEE.Dc(PGPHASHALGO_RIPEMD256);207ack("ripemd256(str);", 'afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65');208ack("ripemd256.init(PGPHASHALGO_RIPEMD256);", true);209ack("ripemd256.algo", PGPHASHALGO_RIPEMD256);210ack("ripemd256.asn1", null);211ack("ripemd256.name", "RIPEMD256");212ack("ripemd256.update(str);", true);213ack("ripemd256.fini();", 'afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65');214var ripemd320 = new GPSEE.Dc(PGPHASHALGO_RIPEMD320);215ack("ripemd320(str);", 'de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d');216ack("ripemd320.init(PGPHASHALGO_RIPEMD320);", true);217ack("ripemd320.algo", PGPHASHALGO_RIPEMD320);218ack("ripemd320.asn1", null);219ack("ripemd320.name", "RIPEMD320");220ack("ripemd320.update(str);", true);221ack("ripemd320.fini();", 'de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d');222var skein224 = new GPSEE.Dc(PGPHASHALGO_SKEIN_224);223ack("skein224('');", '50462a6805b74017ac85237077fb122a507911b737c9a66ff056a823');224ack("skein224.init(PGPHASHALGO_SKEIN_224);", true);225ack("skein224.algo", PGPHASHALGO_SKEIN_224);226ack("skein224.asn1", null);227ack("skein224.name", "SKEIN256");228ack("skein224.update('');", true);229ack("skein224.fini();", '50462a6805b74017ac85237077fb122a507911b737c9a66ff056a823');230var skein256 = new GPSEE.Dc(PGPHASHALGO_SKEIN_256);231ack("skein256('');", 'bc2763f707e262b80e0313791543a7ab0a4b6cd083270afb2fce4272e1bb0aa9');232ack("skein256.init(PGPHASHALGO_SKEIN_256);", true);233ack("skein256.algo", PGPHASHALGO_SKEIN_256);234ack("skein256.asn1", null);235ack("skein256.name", "SKEIN256");236ack("skein256.update('');", true);237ack("skein256.fini();", 'bc2763f707e262b80e0313791543a7ab0a4b6cd083270afb2fce4272e1bb0aa9');238var skein384 = new GPSEE.Dc(PGPHASHALGO_SKEIN_384);239ack("skein384('');", 'fa35c62fad08435e2727361228a0da5a72b14c2d7da222dc1f5142ae91f5da6c85c441f96888fccf518be2084cc495f4');240ack("skein384.init(PGPHASHALGO_SKEIN_384);", true);241ack("skein384.algo", PGPHASHALGO_SKEIN_384);242ack("skein384.asn1", null);243ack("skein384.name", "SKEIN512");244ack("skein384.update('');", true);245ack("skein384.fini();", 'fa35c62fad08435e2727361228a0da5a72b14c2d7da222dc1f5142ae91f5da6c85c441f96888fccf518be2084cc495f4');246var skein512 = new GPSEE.Dc(PGPHASHALGO_SKEIN_512);247ack("skein512('');", 'd3f7263a09837f4ce5c8ef70a5ddffac7b92d6c2ace5a12265bd5b593260a3ff20d8b4b4c5494e945448b37abb1fc526f6b46089208fde938d7f23724c4bdfb7');248ack("skein512.init(PGPHASHALGO_SKEIN_512);", true);249ack("skein512.algo", PGPHASHALGO_SKEIN_512);250ack("skein512.asn1", null);251ack("skein512.name", "SKEIN512");252ack("skein512.update('');", true);253ack("skein512.fini();", 'd3f7263a09837f4ce5c8ef70a5ddffac7b92d6c2ace5a12265bd5b593260a3ff20d8b4b4c5494e945448b37abb1fc526f6b46089208fde938d7f23724c4bdfb7');254var skein1024 = new GPSEE.Dc(PGPHASHALGO_SKEIN_1024);255ack("skein1024('');", '7bc3ce31c035df3c7a7d559bc9d9454f879f48497cc39e6d14e8190498455f396f45590405c4a15bd0ab29f5467d9132802f4354376ee864ad9f200e39a3d09b9ad06e9d0f656cf91ed9deac13a7a67a82ab983f52133129cac2a4dc13fd29c36ca6c72d6dcc6c82c66797f6b7607cb0e0f9006a27b83b60c59e4ba18de233e0');256ack("skein1024.init(PGPHASHALGO_SKEIN_1024);", true);257ack("skein1024.algo", PGPHASHALGO_SKEIN_1024);258ack("skein1024.asn1", null);259ack("skein1024.name", "SKEIN1024");260ack("skein1024.update('');", true);261ack("skein1024.fini();", '7bc3ce31c035df3c7a7d559bc9d9454f879f48497cc39e6d14e8190498455f396f45590405c4a15bd0ab29f5467d9132802f4354376ee864ad9f200e39a3d09b9ad06e9d0f656cf91ed9deac13a7a67a82ab983f52133129cac2a4dc13fd29c36ca6c72d6dcc6c82c66797f6b7607cb0e0f9006a27b83b60c59e4ba18de233e0');262var arirang_224 = new GPSEE.Dc(PGPHASHALGO_ARIRANG_224);263ack("arirang_224('');", '1937aa37e0f3262a0d539de60f1a9c5947aea2ba8cc51b7b2d468c23');264ack("arirang_224.init(PGPHASHALGO_ARIRANG_224);", true);265ack("arirang_224.algo", PGPHASHALGO_ARIRANG_224);266ack("arirang_224.asn1", null);267ack("arirang_224.name", "ARIRANG");268ack("arirang_224.update(str);", true);269ack("arirang_224.fini();", '40ce8ec7bb6adac2714d84acb9c0bd027e2d5409c630cb8a3b190a2d');270var arirang_256 = new GPSEE.Dc(PGPHASHALGO_ARIRANG_256);271ack("arirang_256('');", 'aab605111e406a8103bed1495daef867bfa9b70289b50533b9c4817d08a8def2');272ack("arirang_256.init(PGPHASHALGO_ARIRANG_256);", true);273ack("arirang_256.algo", PGPHASHALGO_ARIRANG_256);274ack("arirang_256.asn1", null);275ack("arirang_256.name", "ARIRANG");276ack("arirang_256.update(str);", true);277ack("arirang_256.fini();", '379e5431242a47052681fd06135c9a12b63fd6ff85ef9ce4272cdc9eb78e4eaf');278var arirang_384 = new GPSEE.Dc(PGPHASHALGO_ARIRANG_384);279ack("arirang_384('');", 'e413208d8dfd0ceb37cccc149e5afc16c458fdffe6ee8213bc2f69c5f617da26d84aec6123a2f6549aa6441fba165f5f');280ack("arirang_384.init(PGPHASHALGO_ARIRANG_384);", true);281ack("arirang_384.algo", PGPHASHALGO_ARIRANG_384);282ack("arirang_384.asn1", null);283ack("arirang_384.name", "ARIRANG");284ack("arirang_384.update(str);", true);285ack("arirang_384.fini();", '98b3eef2413ddd853187b2ea5b40d92e6fd1fb61f343633f6070eae71212d264ef035bea780fa22ceae3d491c986bb5b');286var arirang_512 = new GPSEE.Dc(PGPHASHALGO_ARIRANG_512);287ack("arirang_512('');", '65d6e76d7cc4065eed05d0a825ca99de85f4cf275786b37f9ff5390ffefa0ffe463405df20f3fc5285c7511ca2df60400db636a0a370f36c487c0b54df8280c3');288ack("arirang_512.init(PGPHASHALGO_ARIRANG_512);", true);289ack("arirang_512.algo", PGPHASHALGO_ARIRANG_512);290ack("arirang_512.asn1", null);291ack("arirang_512.name", "ARIRANG");292ack("arirang_512.update(str);", true);293ack("arirang_512.fini();", '84a38a38f35344d34c4a94a551816b3f9075f7ec2f6415a87c75e8472da6490482e1d489a803b41c5ad74c9d8b7cb7e5a8cd5b73ad22ed24549985daa9007e0c');294var blake224 = new GPSEE.Dc(PGPHASHALGO_BLAKE_224);295ack("blake224('');", '53f6633363b0cf3d4253963628555b5e8961339d39f057fc3782471b');296ack("blake224.init(PGPHASHALGO_BLAKE_224);", true);297ack("blake224.algo", PGPHASHALGO_BLAKE_224);298ack("blake224.asn1", null);299ack("blake224.name", "BLAKE");300ack("blake224.update(str);", true);301ack("blake224.fini();", 'a94de9b941e6ba54696e2cc6831bcb8381158bed49d3311314fbd20e');302var blake256 = new GPSEE.Dc(PGPHASHALGO_BLAKE_256);303ack("blake256('');", '73be7e1e0a7d0a2f0035edae62d4412ec43c0308145b5046849a53756bcda44b');304ack("blake256.init(PGPHASHALGO_BLAKE_256);", true);305ack("blake256.algo", PGPHASHALGO_BLAKE_256);306ack("blake256.asn1", null);307ack("blake256.name", "BLAKE");308ack("blake256.update(str);", true);309ack("blake256.fini();", 'cca0f6deb4727e1677020c8cebf8f49434002d1a8a9d86970d73eb0ee709ff43');310var blake384 = new GPSEE.Dc(PGPHASHALGO_BLAKE_384);311ack("blake384('');", 'e0820c066f522138d5cb3a5773dea16db434afa95e1c48e060de466928bb7044391b3ee77e2bbff6c0cf1e07a8295100');312ack("blake384.init(PGPHASHALGO_BLAKE_384);", true);313ack("blake384.algo", PGPHASHALGO_BLAKE_384);314ack("blake384.asn1", null);315ack("blake384.name", "BLAKE");316ack("blake384.update(str);", true);317ack("blake384.fini();", 'e22ddc662dd6c55ca5928fc954f55d5a288dcd69afd67971b90a383f0e2ef5d086dbca48186b6696dc041c78a4dd202c');318var blake512 = new GPSEE.Dc(PGPHASHALGO_BLAKE_512);319ack("blake512('');", '223d88a8c8308c15d479d1668ba97b1b2737aad82debd7d05d32f77a13f820651c36fc9eb18e2101b8e992717e671400be6a7f158cdd64afed6f81e62bf15c37');320ack("blake512.init(PGPHASHALGO_BLAKE_512);", true);321ack("blake512.algo", PGPHASHALGO_BLAKE_512);322ack("blake512.asn1", null);323ack("blake512.name", "BLAKE");324ack("blake512.update(str);", true);325ack("blake512.fini();", '73d4b67de1bedd9f4c7864d5e8b388a0c317d032c3e82df534f614dc5e91ca5b8a2e8310d92845909193f47a73bb2205a996952abe1e89978e907cd4027c35bb');326var bmw224 = new GPSEE.Dc(PGPHASHALGO_BMW_224);327ack("bmw224('');", 'bdf29a829d3f42d50604acb5ad1a851a8ec684a86ff7c4e791aad501');328ack("bmw224.init(PGPHASHALGO_BMW_224);", true);329ack("bmw224.algo", PGPHASHALGO_BMW_224);330ack("bmw224.asn1", null);331ack("bmw224.name", "BMW");332ack("bmw224.update(str);", true);333ack("bmw224.fini();", '26088053c93cbc480ad53c34fc66fff0b4f1341adb855154fa15ee54');334var bmw256 = new GPSEE.Dc(PGPHASHALGO_BMW_256);335ack("bmw256('');", '4c10f8ad695fff1fb275d175b44cbe41c40a53a166d0470b45bab2d9afb6e5c5');336ack("bmw256.init(PGPHASHALGO_BMW_256);", true);337ack("bmw256.algo", PGPHASHALGO_BMW_256);338ack("bmw256.asn1", null);339ack("bmw256.name", "BMW");340ack("bmw256.update(str);", true);341ack("bmw256.fini();", '919905e2d111e6f57cb42e5e31c9240eb0670c1919718a5c1b10e61fc5124d25');342var bmw384 = new GPSEE.Dc(PGPHASHALGO_BMW_384);343ack("bmw384('');", '62f300cced944e44fdd4e51e809c09eeefd31ee58bf977f29b0f475cb16c2f557b723553b9ab563e01d21a11e9d728e2');344ack("bmw384.init(PGPHASHALGO_BMW_384);", true);345ack("bmw384.algo", PGPHASHALGO_BMW_384);346ack("bmw384.asn1", null);347ack("bmw384.name", "BMW");348ack("bmw384.update(str);", true);349ack("bmw384.fini();", '1ef8b57640c0419e1f8c0d7ebc4196ea31fdb5fb9d2350c80db002882f59d3d1005899cd98353751840e34f619ec7abc');350var bmw512 = new GPSEE.Dc(PGPHASHALGO_BMW_512);351ack("bmw512('');", '73db7b1dc6def4ddf2f94a22e1f6d2162b3123828369ff4fd750832aede94e52d4d5c8b866860424991527175b6f62dbe0f764ac18290b92a26812d641cd5287');352ack("bmw512.init(PGPHASHALGO_BMW_512);", true);353ack("bmw512.algo", PGPHASHALGO_BMW_512);354ack("bmw512.asn1", null);355ack("bmw512.name", "BMW");356ack("bmw512.update(str);", true);357ack("bmw512.fini();", 'ded83592522d34271257b338337559204949bc4dbd9a6e66148393575673bae87334b76a3a3fc2734138f3074985ac8af8ff71ce0ca31cd7645df30849936dcf');358var chi_224 = new GPSEE.Dc(PGPHASHALGO_CHI_224);359ack("chi_224('');", '532af150697beba8ac038c53fac985a367701991a34f5c6502cfb7f0');360ack("chi_224.init(PGPHASHALGO_CHI_224);", true);361ack("chi_224.algo", PGPHASHALGO_CHI_224);362ack("chi_224.asn1", null);363ack("chi_224.name", "CHI");364ack("chi_224.update(str);", true);365ack("chi_224.fini();", '2a09fb790d6817e825e37933fb5fdc74e05cd74df7a7f2d6cc903176');366var chi_256 = new GPSEE.Dc(PGPHASHALGO_CHI_256);367ack("chi_256('');", 'fa11172a4a65e8efe6ec9c5ddafac765935fab6be89604edb17902b507302270');368ack("chi_256.init(PGPHASHALGO_CHI_256);", true);369ack("chi_256.algo", PGPHASHALGO_CHI_256);370ack("chi_256.asn1", null);371ack("chi_256.name", "CHI");372ack("chi_256.update(str);", true);373ack("chi_256.fini();", 'cf01da4d76a83ccc4003805be462cd898e243fb36ada110209661aad7d19ed37');374var chi_384 = new GPSEE.Dc(PGPHASHALGO_CHI_384);375ack("chi_384('');", '841eae69ce0d7edc0ab1b3038eb7fd62bd3b73b8e3481798243cf14e258dee93e433e5202e806a18f44f4383b3168f59');376ack("chi_384.init(PGPHASHALGO_CHI_384);", true);377ack("chi_384.algo", PGPHASHALGO_CHI_384);378ack("chi_384.asn1", null);379ack("chi_384.name", "CHI");380ack("chi_384.update(str);", true);381ack("chi_384.fini();", '924ba150d5fcf6862d4570cff69f03c343c6dea3e6db429f1883534b19d06f60157f972063e6fa162ca3337b73872790');382var chi_512 = new GPSEE.Dc(PGPHASHALGO_CHI_512);383ack("chi_512('');", '5ee66ada5094be5d8b822716bb5bdad19f58a632be85a1643f535fca6e109467cd609f16f1f46de6afd16a41a2a4ab932e997e261a4bf71931d804ea8dabcd1a');384ack("chi_512.init(PGPHASHALGO_CHI_512);", true);385ack("chi_512.algo", PGPHASHALGO_CHI_512);386ack("chi_512.asn1", null);387ack("chi_512.name", "CHI");388ack("chi_512.update(str);", true);389ack("chi_512.fini();", '0a71c7e78234e628509d7737ba22e03eea2731ace5d9e3d219641d2b5e71fc957d4bb09e9d40925ebe3e69b7077a64825188662aaccd858d3a8c6e9b6b3af3e3');390var cubehash224 = new GPSEE.Dc(PGPHASHALGO_CUBEHASH_224, 0x0801);391ack("cubehash224('');", 'b5a6f6cb6d4100dcda8f575c694f15b2f7c8c5ed145608a42a89c7ca');392ack("cubehash224.init(PGPHASHALGO_CUBEHASH_224, 0x0801);", true);393ack("cubehash224.algo", PGPHASHALGO_CUBEHASH_224);394ack("cubehash224.asn1", null);395ack("cubehash224.name", "CUBEHASH");396ack("cubehash224.update(str);", true);397ack("cubehash224.fini();", '50151e3b6b2d13a9da38aa1422ab2dacc3500bebd4215d036fdcd5ce');398ack("cubehash224.init(PGPHASHALGO_CUBEHASH_224);", true);399ack("cubehash224('');", 'f9802aa6955f4b7cf3b0f5a378fa0c9f138e0809d250966879c873ab');400ack("cubehash224(str);", '6b45504b39316bfd48dc44638a363c16b3f0263d66561b09d7d21fd7');401var cubehash256 = new GPSEE.Dc(PGPHASHALGO_CUBEHASH_256, 0x0801);402ack("cubehash256('');", '38d1e8a22d7baac6fd5262d83de89cacf784a02caa866335299987722aeabc59');403ack("cubehash256.init(PGPHASHALGO_CUBEHASH_256, 0x0801);", true);404ack("cubehash256.algo", PGPHASHALGO_CUBEHASH_256);405ack("cubehash256.asn1", null);406ack("cubehash256.name", "CUBEHASH");407ack("cubehash256.update(str);", true);408ack("cubehash256.fini();", '8de2181ab5ae4365a506cdf748f3af4b52a7b838a2c82550b8329bb6339914d7');409ack("cubehash256.init(PGPHASHALGO_CUBEHASH_256);", true);410ack("cubehash256('');", '44c6de3ac6c73c391bf0906cb7482600ec06b216c7c54a2a8688a6a42676577d');411ack("cubehash256(str);", 'a220b4bf5023e750c2a34dcd5564a8523d32e17fab6fbe0f18a0b0bf5a65632b');412var cubehash384 = new GPSEE.Dc(PGPHASHALGO_CUBEHASH_384, 0x0801);413ack("cubehash384('');", '235e819ebb93af765f7d86df6c6ff283ab24e98a07858a7d1c72604bb10c794d4721ef9ddfccaa93072eee9b53fdc69c');414ack("cubehash384.init(PGPHASHALGO_CUBEHASH_384, 0x0801);", true);415ack("cubehash384.algo", PGPHASHALGO_CUBEHASH_384);416ack("cubehash384.asn1", null);417ack("cubehash384.name", "CUBEHASH");418ack("cubehash384.update(str);", true);419ack("cubehash384.fini();", 'a6cd4e9e01f83d75a3c5b30f7c9700216a453a2c9a9399181a0ad7c52a902f12f0a3301fec05428cda66abc16c5ca7e3');420ack("cubehash384.init(PGPHASHALGO_CUBEHASH_384);", true);421ack("cubehash384('');", '98ae93ebf4e58958497f610a22c8cf60f2292319283ca6459daed1707be06e7591c5f2d84bd3339e66c770e485bfa1fb');422ack("cubehash384(str);", '287cc1738bdb9575fd716bafbb02768ce5a57ae5c08ba12f5cf74fac27ab5707e577bc93539c07af9ab92c3b1b368997');423var cubehash512 = new GPSEE.Dc(PGPHASHALGO_CUBEHASH_512, 0x0801);424ack("cubehash512('');", '90bc3f2948f7374065a811f1e47a208a53b1a2f3be1c0072759ed49c9c6c7f28f26eb30d5b0658c563077d599da23f97df0c2c0ac6cce734ffe87b2e76ff7294');425ack("cubehash512.init(PGPHASHALGO_CUBEHASH_512, 0x0801);", true);426ack("cubehash512.algo", PGPHASHALGO_CUBEHASH_512, 0x0801);427ack("cubehash512.asn1", null);428ack("cubehash512.name", "CUBEHASH");429ack("cubehash512.update(str);", true);430ack("cubehash512.fini();", 'f83d39f3f4213dbe240aa14740b214741163f37be49750cc9bf64aaa58be8f8adee7874186475cec08f7993ca7e35839291816ccc377d6173987eb95e355ee73');431ack("cubehash512.init(PGPHASHALGO_CUBEHASH_512);", true);432ack("cubehash512('');", '4a1d00bbcfcb5a9562fb981e7f7db3350fe2658639d948b9d57452c22328bb32f468b072208450bad5ee178271408be0b16e5633ac8a1e3cf9864cfbfc8e043a');433ack("cubehash512(str);", 'f63d6fa89ca9fe7ab2e171be52cf193f0c8ac9f62bad297032c1e7571046791a7e8964e5c8d91880d6f9c2a54176b05198901047438e05ac4ef38d45c0282673');434var echo_224 = new GPSEE.Dc(PGPHASHALGO_ECHO_224);435ack("echo_224('');", '17da087595166f733fff7cdb0bca6438f303d0e00c48b5e7a3075905');436ack("echo_224.init(PGPHASHALGO_ECHO_224);", true);437ack("echo_224.algo", PGPHASHALGO_ECHO_224);438ack("echo_224.asn1", null);439ack("echo_224.name", "ECHO");440ack("echo_224.update(str);", true);441ack("echo_224.fini();", 'd4f3807187a07cb8e593485e311425e68aaa00a3715789bfa66f09cd');442var echo_256 = new GPSEE.Dc(PGPHASHALGO_ECHO_256);443ack("echo_256('');", '4496cd09d425999aefa75189ee7fd3c97362aa9e4ca898328002d20a4b519788');444ack("echo_256.init(PGPHASHALGO_ECHO_256);", true);445ack("echo_256.algo", PGPHASHALGO_ECHO_256);446ack("echo_256.asn1", null);447ack("echo_256.name", "ECHO");448ack("echo_256.update(str);", true);449ack("echo_256.fini();", '871b1fad479135c37e1aad71ac9a99def41730f3e5b3e0dc3f6b7cf072fa5649');450var echo_384 = new GPSEE.Dc(PGPHASHALGO_ECHO_384);451ack("echo_384('');", '134040763f840559b84b7a1ae5d6d64fc3659821a789cc64a7f1444c09ee7f81a54d72beee8273bae5ef18ec43aa5f34');452ack("echo_384.init(PGPHASHALGO_ECHO_384);", true);453ack("echo_384.algo", PGPHASHALGO_ECHO_384);454ack("echo_384.asn1", null);455ack("echo_384.name", "ECHO");456ack("echo_384.update(str);", true);457ack("echo_384.fini();", '94cbb881848c45b7f6649b7b36901d14973248d9bfa318bd830d1c14d749e7e9bf0a69ce738ac8a1fd361411a8dc9dae');458var echo_512 = new GPSEE.Dc(PGPHASHALGO_ECHO_512);459ack("echo_512('');", '158f58cc79d300a9aa292515049275d051a28ab931726d0ec44bdd9faef4a702c36db9e7922fff077402236465833c5cc76af4efc352b4b44c7fa15aa0ef234e');460ack("echo_512.init(PGPHASHALGO_ECHO_512);", true);461ack("echo_512.algo", PGPHASHALGO_ECHO_512);462ack("echo_512.asn1", null);463ack("echo_512.name", "ECHO");464ack("echo_512.update(str);", true);465ack("echo_512.fini();", '3bf04ec89d67e0dafd1b8ab26b176abaead6b3cdc706ff7198c3c6045e77d4eaf64cd90af9c5a7674919b90ff8c9b4a7554d6cfeffb334406ec233fb0b0dd6bc');466var edonr224 = new GPSEE.Dc(PGPHASHALGO_EDONR_224);467ack("edonr224('');", 'a9c2bc54208be171cdfd054d21d97c1f4c79e822d8d9fcdbcb1d602f');468ack("edonr224.init(PGPHASHALGO_EDONR_224);", true);469ack("edonr224.algo", PGPHASHALGO_EDONR_224);470ack("edonr224.asn1", null);471ack("edonr224.name", "EDON-R");472ack("edonr224.update(str);", true);473ack("edonr224.fini();", '5663c4939520faf6123165a466f25601952ea9e424ddc96befd04094');474var edonr256 = new GPSEE.Dc(PGPHASHALGO_EDONR_256);475ack("edonr256('');", '3b71fd43dade942c07842b181f4d987e78d2ac7e3a7e8bb06fec99a60b60eaba');476ack("edonr256.init(PGPHASHALGO_EDONR_256);", true);477ack("edonr256.algo", PGPHASHALGO_EDONR_256);478ack("edonr256.asn1", null);479ack("edonr256.name", "EDON-R");480ack("edonr256.update(str);", true);481ack("edonr256.fini();", '54d78b13c74eda5aedc271cc881fb22f8399afd3040b6a392d739405508dd851');482var edonr384 = new GPSEE.Dc(PGPHASHALGO_EDONR_384);483ack("edonr384('');", 'ccd8e612b93a3f8c24867eb204c1dc3f2de24bd54d92908c5f5a73c6a4da14c8742a5fc3a6b5428658e85f0175de95a7');484ack("edonr384.init(PGPHASHALGO_EDONR_384);", true);485ack("edonr384.algo", PGPHASHALGO_EDONR_384);486ack("edonr384.asn1", null);487ack("edonr384.name", "EDON-R");488ack("edonr384.update(str);", true);489ack("edonr384.fini();", '0e7cd7857877e0895b1cdf49f41d209c727d2e579b9b9adc60279782b99072ec7eced3165f477548fa60727e01c77cc6');490var edonr512 = new GPSEE.Dc(PGPHASHALGO_EDONR_512);491ack("edonr512('');", 'c57f7e17fdc1ce5074cc748c9bd38f9f51ebe88fbe6eda3190c4314cafb1abb2980fac582d6e4ba8c641947d944bc56b74fb15de5546ad4f77934fca00052719');492ack("edonr512.init(PGPHASHALGO_EDONR_512);", true);493ack("edonr512.algo", PGPHASHALGO_EDONR_512);494ack("edonr512.asn1", null);495ack("edonr512.name", "EDON-R");496ack("edonr512.update(str);", true);497ack("edonr512.fini();", '1b14db155f1d406594b8cef70a4362ec6b5de6a5daf50ec999e987c19d3049e2de5977bb05b1bb220050a1ea5b46a9f1740acafbf6b45032adc90c628372c22b');498var fugue_224 = new GPSEE.Dc(PGPHASHALGO_FUGUE_224);499ack("fugue_224('');", 'e2cd30d51a913c4ed2388a141f90caa4914de43010849e7b8a7a9ccd');500ack("fugue_224.init(PGPHASHALGO_FUGUE_224);", true);501ack("fugue_224.algo", PGPHASHALGO_FUGUE_224);502ack("fugue_224.asn1", null);503ack("fugue_224.name", "FUGUE");504ack("fugue_224.update(str);", true);505ack("fugue_224.fini();", '5e12f2cfb0b72d27c81a50d591741625138500a3151edea3d72813f8');506var fugue_256 = new GPSEE.Dc(PGPHASHALGO_FUGUE_256);507ack("fugue_256('');", 'd6ec528980c130aad1d1acd28b9dd8dbdeae0d79eded1fca72c2af9f37c2246f');508ack("fugue_256.init(PGPHASHALGO_FUGUE_256);", true);509ack("fugue_256.algo", PGPHASHALGO_FUGUE_256);510ack("fugue_256.asn1", null);511ack("fugue_256.name", "FUGUE");512ack("fugue_256.update(str);", true);513ack("fugue_256.fini();", '2b6cca67a397ecd4f27a0bed242b04f328b89ff5c51c61da1e69cc5a7419084c');514var fugue_384 = new GPSEE.Dc(PGPHASHALGO_FUGUE_384);515ack("fugue_384('');", '466d05f6812b58b8628e53816b2a99d173b804a964de971829159c3791ac8b524eebbf5fc73ba40ea8eea446d5424a30');516ack("fugue_384.init(PGPHASHALGO_FUGUE_384);", true);517ack("fugue_384.algo", PGPHASHALGO_FUGUE_384);518ack("fugue_384.asn1", null);519ack("fugue_384.name", "FUGUE");520ack("fugue_384.update(str);", true);521ack("fugue_384.fini();", '5e5e10e8b19c2895d406a998ca860cb5698ec950fb4c65bbc41b9f4f53737750e38ff896998df9968066899c3ad5431f');522var fugue_512 = new GPSEE.Dc(PGPHASHALGO_FUGUE_512);523ack("fugue_512('');", '3124f0cbb5a1c2fb3ce747ada63ed2ab3bcd74795cef2b0e805d5319fcc360b4617b6a7eb631d66f6d106ed0724b56fa8c1110f9b8df1c6898e7ca3c2dfccf79');524ack("fugue_512.init(PGPHASHALGO_FUGUE_512);", true);525ack("fugue_512.algo", PGPHASHALGO_FUGUE_512);526ack("fugue_512.asn1", null);527ack("fugue_512.name", "FUGUE");528ack("fugue_512.update(str);", true);529ack("fugue_512.fini();", '6d3c8217e4ddcb6ad1e651ff24be6a50b177c11e0df51ddcf7e90787274927bf1d77bf870d74551c00818fd1d049f384f8c56a8c2c040de2febef2637dc4b20f');530var groestl_224 = new GPSEE.Dc(PGPHASHALGO_GROESTL_224);531ack("groestl_224('');", '07f3750f4831d8ad1763cd46ab6b40c6c49f1cdcc78bb64f8d40c7df');532ack("groestl_224.init(PGPHASHALGO_GROESTL_224);", true);533ack("groestl_224.algo", PGPHASHALGO_GROESTL_224);534ack("groestl_224.asn1", null);535ack("groestl_224.name", "GROESTL");536ack("groestl_224.update(str);", true);537ack("groestl_224.fini();", '321c42cdba3fa677c3cb5dcf4dc3e2556060c8878eec84290b6b4155');538var groestl_256 = new GPSEE.Dc(PGPHASHALGO_GROESTL_256);539ack("groestl_256('');", '6c462dc6861c19dbc6fa818f3da84bccf6eab703db10a9781eec6633ea9e8b7b');540ack("groestl_256.init(PGPHASHALGO_GROESTL_256);", true);541ack("groestl_256.algo", PGPHASHALGO_GROESTL_256);542ack("groestl_256.asn1", null);543ack("groestl_256.name", "GROESTL");544ack("groestl_256.update(str);", true);545ack("groestl_256.fini();", '90f0b04123a30b8b1cd805624e1f64096e0462547f6eaa3145abcda822ec26ea');546var groestl_384 = new GPSEE.Dc(PGPHASHALGO_GROESTL_384);547ack("groestl_384('');", '7dbc0745fc81f89cf3ae0148c42fc5f0106af016d23de296364fa0b03befdebb284e87ac093132419db98d7e1d73fbfa');548ack("groestl_384.init(PGPHASHALGO_GROESTL_384);", true);549ack("groestl_384.algo", PGPHASHALGO_GROESTL_384);550ack("groestl_384.asn1", null);551ack("groestl_384.name", "GROESTL");552ack("groestl_384.update(str);", true);553ack("groestl_384.fini();", 'fe8dd63c8c51253e3a9d271e1fc496c6317ab2c868bc73456d68a560a8d1f758b864ec39f1be185cac7d8924392feeb0');554var groestl_512 = new GPSEE.Dc(PGPHASHALGO_GROESTL_512);555ack("groestl_512('');", 'a94b5251dc711c2813d70d58dd4f84648f90d2700d9417b4c58070069cf68fa86a720e7ee409d64d06adce285bfd60e09d5bcff5bbe7ca2922b96869ae6489be');556ack("groestl_512.init(PGPHASHALGO_GROESTL_512);", true);557ack("groestl_512.algo", PGPHASHALGO_GROESTL_512);558ack("groestl_512.asn1", null);559ack("groestl_512.name", "GROESTL");560ack("groestl_512.update(str);", true);561ack("groestl_512.fini();", '1f2dcaa986d01d212fb633886fcb11f8aaeea18ba7ddd5a251cfc490f9b2850b78ab5ca7870014d21f880dac4cce07e66ba125071a6a30a3b3e35f19cbd15a20');562var hamsi_224 = new GPSEE.Dc(PGPHASHALGO_HAMSI_224);563ack("hamsi_224('');", '6f5708887722a92764a4d55527feaeba32f297f05d35a8276301d508');564ack("hamsi_224.init(PGPHASHALGO_HAMSI_224);", true);565ack("hamsi_224.algo", PGPHASHALGO_HAMSI_224);566ack("hamsi_224.asn1", null);567ack("hamsi_224.name", "HAMSI");568ack("hamsi_224.update(str);", true);569ack("hamsi_224.fini();", 'f5942eef7b5f487e8bb94407e0cebcec853214440af688455786e806');570var hamsi_256 = new GPSEE.Dc(PGPHASHALGO_HAMSI_256);571ack("hamsi_256('');", '750e9ec469f4db626bee7e0c10ddaa1bd01fe194b94efbabebd24764dc2b13e9');572ack("hamsi_256.init(PGPHASHALGO_HAMSI_256);", true);573ack("hamsi_256.algo", PGPHASHALGO_HAMSI_256);574ack("hamsi_256.asn1", null);575ack("hamsi_256.name", "HAMSI");576ack("hamsi_256.update(str);", true);577ack("hamsi_256.fini();", '6b017b90971fdb646700dea0e50e7ac1f6a75a849b2809a55eedcde4c65daf1f');578var hamsi_384 = new GPSEE.Dc(PGPHASHALGO_HAMSI_384);579ack("hamsi_384('');", 'fb38fae25a490c57839c01b858a1f641a2d2c027cec26827d07c0685f7756721b952d9cf4ab1e196663be21b0bbc1b60');580ack("hamsi_384.init(PGPHASHALGO_HAMSI_384);", true);581ack("hamsi_384.algo", PGPHASHALGO_HAMSI_384);582ack("hamsi_384.asn1", null);583ack("hamsi_384.name", "HAMSI");584ack("hamsi_384.update(str);", true);585ack("hamsi_384.fini();", 'edc3513afd752245c93e26aa83ec95086b5f25cce61a0aa7a8522f5f263340011a631e8b7e4903ad926bdff7bcb19cfe');586var hamsi_512 = new GPSEE.Dc(PGPHASHALGO_HAMSI_512);587ack("hamsi_512('');", 'd9bd390844eab0e08ebc8e687fc09e2d22fbf023ebed5c667b6f760fd2e9164e03846ed3df52bd323ab0b748b57575c2d85fece5fc0e99a90f786d14f6d443b3');588ack("hamsi_512.init(PGPHASHALGO_HAMSI_512);", true);589ack("hamsi_512.algo", PGPHASHALGO_HAMSI_512);590ack("hamsi_512.asn1", null);591ack("hamsi_512.name", "HAMSI");592ack("hamsi_512.update(str);", true);593ack("hamsi_512.fini();", '74a3b36a4cdf908973db6ace5b680ea27f5a70bbf57ae5fb5683135a5b1c70a3929835b68af9aec61ffd0a964c552c2bf8cd62c90ea397411a50a3683b98ffc6');594var jh224 = new GPSEE.Dc(PGPHASHALGO_JH_224);595ack("jh224('');", '12c53596fb61ad2865c0a39b7efe88166f9eb1f5fc5b434b9c45057e');596ack("jh224.init(PGPHASHALGO_JH_224);", true);597ack("jh224.algo", PGPHASHALGO_JH_224);598ack("jh224.asn1", null);599ack("jh224.name", "JH");600ack("jh224.update(str);", true);601ack("jh224.fini();", '31fcf15a8e9bc7c4feae367e1bbd08c5861b389cbe369024f6024666');602var jh256 = new GPSEE.Dc(PGPHASHALGO_JH_256);603ack("jh256('');", '020cdd61951fdcadcc544096176332b213b4604ac42dfa82026b7cd750a0a90b');604ack("jh256.init(PGPHASHALGO_JH_256);", true);605ack("jh256.algo", PGPHASHALGO_JH_256);606ack("jh256.asn1", null);607ack("jh256.name", "JH");608ack("jh256.update(str);", true);609ack("jh256.fini();", '76804776ead1964566b1918f96deed2936d7648666660128820d73531e29aae6');610var jh384 = new GPSEE.Dc(PGPHASHALGO_JH_384);611ack("jh384('');", '604cb69a44994b89d8d25ade362d7e3304532862ecde225dfbff8c76dc9a236754e6c662463b19b7e8d034f3da0b4b41');612ack("jh384.init(PGPHASHALGO_JH_384);", true);613ack("jh384.algo", PGPHASHALGO_JH_384);614ack("jh384.asn1", null);615ack("jh384.name", "JH");616ack("jh384.update(str);", true);617ack("jh384.fini();", 'e936ff1633661dd71de4e59f46980893cdd13cce315cc633d6b9dd3b2411b6063662cf5c9cb52b37d385e3f6f5489b9c');618var jh512 = new GPSEE.Dc(PGPHASHALGO_JH_512);619ack("jh512('');", '96d728dd0c96091d228c962b5013a9e4248af4a6eee112d71ee02930a62c8a9a0adcd4f710e297c8f6c24342106ef276f8e4cf45d220e0cc39aed85bd071c31f');620ack("jh512.init(PGPHASHALGO_JH_512);", true);621ack("jh512.algo", PGPHASHALGO_JH_512);622ack("jh512.asn1", null);623ack("jh512.name", "JH");624ack("jh512.update(str);", true);625ack("jh512.fini();", '4d604cbc28a6c0e457baeec929a0fbfe750fd446d66c6353aba51940c49f98aae3ca95d08cf1acd96d348917f2fc37ab6a561e272e9566251873e293bbce2578');626var keccak224 = new GPSEE.Dc(PGPHASHALGO_KECCAK_224);627ack("keccak224('');", '6c60c1d4dc10aee01988c45a33b38bc3045971724ce7e83cdda61635');628ack("keccak224.init(PGPHASHALGO_KECCAK_224);", true);629ack("keccak224.algo", PGPHASHALGO_KECCAK_224);630ack("keccak224.asn1", null);631ack("keccak224.name", "KECCAK");632ack("keccak224.update(str);", true);633ack("keccak224.fini();", '78e64e68f6be46a65dfc1a255c3c5ad6e1ab24be22260ddf059d8dd7');634var keccak256 = new GPSEE.Dc(PGPHASHALGO_KECCAK_256);635ack("keccak256('');", 'bcde039a63f98b125e7fe5cb8999c05dab163f857bcae719fb09b8d5e1da6f0c');636ack("keccak256.init(PGPHASHALGO_KECCAK_256);", true);637ack("keccak256.algo", PGPHASHALGO_KECCAK_256);638ack("keccak256.asn1", null);639ack("keccak256.name", "KECCAK");640ack("keccak256.update(str);", true);641ack("keccak256.fini();", '4e51e1369fe550ba6daeba7068701a653c1216762f41427d976789345687f056');642var keccak384 = new GPSEE.Dc(PGPHASHALGO_KECCAK_384);643ack("keccak384('');", '3f65c0fbe79d43f11d844a448a61b8316db1b681c252f9f5f3fd4da255a655187cff6c0ef96c8c9e7df899a36aa783a9');644ack("keccak384.init(PGPHASHALGO_KECCAK_384);", true);645ack("keccak384.algo", PGPHASHALGO_KECCAK_384);646ack("keccak384.asn1", null);647ack("keccak384.name", "KECCAK");648ack("keccak384.update(str);", true);649ack("keccak384.fini();", 'bf1c5ae872a458211fbe9fd263da97341697003d36f315148d17f7d407caad126443581a2c7c86aa91f5de4ee6375963');650var keccak512 = new GPSEE.Dc(PGPHASHALGO_KECCAK_512);651ack("keccak512('');", '8596f8df2e856ec888823da8ccc914139f31baee6aa5c37dbe30bddbfd75c63cdc205f15f30faa348e27b5f90495b339a606e3c84bfcdcd55e88b0e178b56feb');652ack("keccak512.init(PGPHASHALGO_KECCAK_512);", true);653ack("keccak512.algo", PGPHASHALGO_KECCAK_512);654ack("keccak512.asn1", null);655ack("keccak512.name", "KECCAK");656ack("keccak512.update(str);", true);657ack("keccak512.fini();", '4a2e21878d2785dffb751bb0c635e1f5780152922ffe7ef5342f7442d877754a3f866cd5b2d9f2711b02b24f64e437e4484a8d24b7878d288e9c550729ff954e');658var lane_224 = new GPSEE.Dc(PGPHASHALGO_LANE_224);659ack("lane_224('');", '059b1d054b857bb991c68f42122b6871b3b36c4a3af2d50899a73cda');660ack("lane_224.init(PGPHASHALGO_LANE_224);", true);661ack("lane_224.algo", PGPHASHALGO_LANE_224);662ack("lane_224.asn1", null);663ack("lane_224.name", "LANE");664ack("lane_224.update(str);", true);665ack("lane_224.fini();", '2056437f23356c417f68e0b6827839361d052ed02250386bf2b1623f');666var lane_256 = new GPSEE.Dc(PGPHASHALGO_LANE_256);667ack("lane_256('');", '39d0a057848d3b41a1539a9d1fb843d95c7cac409bdd2597655542584eda637b');668ack("lane_256.init(PGPHASHALGO_LANE_256);", true);669ack("lane_256.algo", PGPHASHALGO_LANE_256);670ack("lane_256.asn1", null);671ack("lane_256.name", "LANE");672ack("lane_256.update(str);", true);673ack("lane_256.fini();", '7cc93b0901d29b0fdf354af65184bc7bc4af179b9270ddf3727cac33e398d0ec');674var lane_384 = new GPSEE.Dc(PGPHASHALGO_LANE_384);675ack("lane_384('');", 'a77d6bd42e74f21b9ec470ae0525c53f5b35d6b6c3241f8007f4cacc6aa496df663a90a35eef8d45703452742e33110c');676ack("lane_384.init(PGPHASHALGO_LANE_384);", true);677ack("lane_384.algo", PGPHASHALGO_LANE_384);678ack("lane_384.asn1", null);679ack("lane_384.name", "LANE");680ack("lane_384.update(str);", true);681ack("lane_384.fini();", '826d911054abe9b781ad60a6e9332fc816b377a3c4f63aa699cc2b4fb78a42fe8b06d9ad89b8e297ec7b6be6c9ac8d40');682var lane_512 = new GPSEE.Dc(PGPHASHALGO_LANE_512);683ack("lane_512('');", 'bdee2ca1f13ab522a3a9e045dc6f236deab315dc8c322ee20333837762a422ca43bcd6f79964cded6531011f3207b76a6859097eaa5fc6e865bedfa80d73ee91');684ack("lane_512.init(PGPHASHALGO_LANE_512);", true);685ack("lane_512.algo", PGPHASHALGO_LANE_512);686ack("lane_512.asn1", null);687ack("lane_512.name", "LANE");688ack("lane_512.update(str);", true);689ack("lane_512.fini();", 'f149df86c9a94c2fd100f68dee46bac886686ba512ec9e7aac3c997be204ce7b6fd583429fa0d281d80d4acd73751b2fd19fde98db07922b077dbe8b1f1dc932');690var luffa_224 = new GPSEE.Dc(PGPHASHALGO_LUFFA_224);691ack("luffa_224('');", 'd69dcfd468dc331d5159c5c40cd1877e9b8ea2a50e6a7245630286ed');692ack("luffa_224.init(PGPHASHALGO_LUFFA_224);", true);693ack("luffa_224.algo", PGPHASHALGO_LUFFA_224);694ack("luffa_224.asn1", null);695ack("luffa_224.name", "LUFFA");696ack("luffa_224.update(str);", true);697ack("luffa_224.fini();", 'f1d566a4b469a38ea31717dbb35d1bb9ac184ec2c08ee58c31bfcbc6');698var luffa_256 = new GPSEE.Dc(PGPHASHALGO_LUFFA_256);699ack("luffa_256('');", 'd69dcfd468dc331d5159c5c40cd1877e9b8ea2a50e6a7245630286edb5924b2e');700ack("luffa_256.init(PGPHASHALGO_LUFFA_256);", true);701ack("luffa_256.algo", PGPHASHALGO_LUFFA_256);702ack("luffa_256.asn1", null);703ack("luffa_256.name", "LUFFA");704ack("luffa_256.update(str);", true);705ack("luffa_256.fini();", 'f1d566a4b469a38ea31717dbb35d1bb9ac184ec2c08ee58c31bfcbc641645526');706var luffa_384 = new GPSEE.Dc(PGPHASHALGO_LUFFA_384);707ack("luffa_384('');", '7404fa448793341a9e0ef5361b7388136d44bbb65f7925d2a6600e4e2f2aca5ab5a7d6fead4f4762b2c60fea5f2d3779');708ack("luffa_384.init(PGPHASHALGO_LUFFA_384);", true);709ack("luffa_384.algo", PGPHASHALGO_LUFFA_384);710ack("luffa_384.asn1", null);711ack("luffa_384.name", "LUFFA");712ack("luffa_384.update(str);", true);713ack("luffa_384.fini();", 'b13b97f6739ad0d575972c1c81a242f747ac1029f19a87f35e1ce16568b4e73054a962fade288e43452395cf05737ff9');714var luffa_512 = new GPSEE.Dc(PGPHASHALGO_LUFFA_512);715ack("luffa_512('');", '2a490f6bb9c236cee38717e6d8655f78aaecf4ffe2fe29d06383d8d6151c4c81eed9064831825ffc0c5da6b6adb1ebdcfdd8ab7434cd2f27df5df58b8b958a7f');716ack("luffa_512.init(PGPHASHALGO_LUFFA_512);", true);717ack("luffa_512.algo", PGPHASHALGO_LUFFA_512);718ack("luffa_512.asn1", null);719ack("luffa_512.name", "LUFFA");720ack("luffa_512.update(str);", true);721ack("luffa_512.fini();", '4c1faae4bda064ee9c50b6952eb95c3e1026c6840b9e498c2514eb9378377fe9ef2d6d1e17bc395346982d1cbb8ce6855f4602c8bf2ed11bfcd3e453314b1feb');722// XXX md6sum, not NIST, values used as test vectors.723var md6_224 = new GPSEE.Dc(PGPHASHALGO_MD6_224);724ack("md6_224('');", 'd2091aa2ad17f38c51ade2697f24cafc3894c617c77ffe10fdc7abcb');725ack("md6_224.init(PGPHASHALGO_MD6_224);", true);726ack("md6_224.algo", PGPHASHALGO_MD6_224);727ack("md6_224.asn1", null);728ack("md6_224.name", "MD6");729ack("md6_224.update(str);", true);730ack("md6_224.fini();", '510c30e4202a5cdd8a4f2ae9beebb6f5988128897937615d52e6d228');731var md6_256 = new GPSEE.Dc(PGPHASHALGO_MD6_256);732ack("md6_256('');", 'bca38b24a804aa37d821d31af00f5598230122c5bbfc4c4ad5ed40e4258f04ca');733ack("md6_256.init(PGPHASHALGO_MD6_256);", true);734ack("md6_256.algo", PGPHASHALGO_MD6_256);735ack("md6_256.asn1", null);736ack("md6_256.name", "MD6");737ack("md6_256.update(str);", true);738ack("md6_256.fini();", '230637d4e6845cf0d092b558e87625f03881dd53a7439da34cf3b94ed0d8b2c5');739var md6_384 = new GPSEE.Dc(PGPHASHALGO_MD6_384);740ack("md6_384('');", 'b0bafffceebe856c1eff7e1ba2f539693f828b532ebf60ae9c16cbc3499020401b942ac25b310b2227b2954ccacc2f1f');741ack("md6_384.init(PGPHASHALGO_MD6_384);", true);742ack("md6_384.algo", PGPHASHALGO_MD6_384);743ack("md6_384.asn1", null);744ack("md6_384.name", "MD6");745ack("md6_384.update(str);", true);746ack("md6_384.fini();", 'e2c6d31dd8872cbd5a1207481cdac581054d13a4d4fe6854331cd8cf3e7cbafbaddd6e2517972b8ff57cdc4806d09190');747var md6_512 = new GPSEE.Dc(PGPHASHALGO_MD6_512);748ack("md6_512('');", '6b7f33821a2c060ecdd81aefddea2fd3c4720270e18654f4cb08ece49ccb469f8beeee7c831206bd577f9f2630d9177979203a9489e47e04df4e6deaa0f8e0c0');749ack("md6_512.init(PGPHASHALGO_MD6_512);", true);750ack("md6_512.algo", PGPHASHALGO_MD6_512);751ack("md6_512.asn1", null);752ack("md6_512.name", "MD6");753ack("md6_512.update(str);", true);754ack("md6_512.fini();", '00918245271e377a7ffb202b90f3bda5477d8feab12d8a3a8994ebc55fe6e74ca8341520032eeea3fdef892f2882378f636212af4b2683ccf80bf025b7d9b457');755var shabal224 = new GPSEE.Dc(PGPHASHALGO_SHABAL_224);756ack("shabal224('');", '562b4fdbe1706247552927f814b66a3d74b465a090af23e277bf8029');757ack("shabal224.init(PGPHASHALGO_SHABAL_224);", true);758ack("shabal224.algo", PGPHASHALGO_SHABAL_224);759ack("shabal224.asn1", null);760ack("shabal224.name", "SHABAL");761ack("shabal224.update(str);", true);762ack("shabal224.fini();", 'f47578239607af492d5f7df9241818adf6fba4180ddcbef6e39ac1e9');763var shabal256 = new GPSEE.Dc(PGPHASHALGO_SHABAL_256);764ack("shabal256('');", 'aec750d11feee9f16271922fbaf5a9be142f62019ef8d720f858940070889014');765ack("shabal256.init(PGPHASHALGO_SHABAL_256);", true);766ack("shabal256.algo", PGPHASHALGO_SHABAL_256);767ack("shabal256.asn1", null);768ack("shabal256.name", "SHABAL");769ack("shabal256.update(str);", true);770ack("shabal256.fini();", '07225fab83ca48fb480d22219410d5ca008359efbfd315829029afe2cb3f0404');771var shabal384 = new GPSEE.Dc(PGPHASHALGO_SHABAL_384);772ack("shabal384('');", 'ff093d67d22b06a674b5f384719150d617e0ff9c8923569a2ab60cda886df63c91a25f33cd71cc22c9eebc5cd6aee52a');773ack("shabal384.init(PGPHASHALGO_SHABAL_384);", true);774ack("shabal384.algo", PGPHASHALGO_SHABAL_384);775ack("shabal384.asn1", null);776ack("shabal384.name", "SHABAL");777ack("shabal384.update(str);", true);778ack("shabal384.fini();", '66613058865271722c0295774aa77258a5082bebbb5a02f9d6aee9ad303fc71cbf19e2f599ddfde88cf0bf30a028e530');779var shabal512 = new GPSEE.Dc(PGPHASHALGO_SHABAL_512);780ack("shabal512('');", 'fc2d5dff5d70b7f6b1f8c2fcc8c1f9fe9934e54257eded0cf2b539a2ef0a19ccffa84f8d9fa135e4bd3c09f590f3a927ebd603ac29eb729e6f2a9af031ad8dc6');781ack("shabal512.init(PGPHASHALGO_SHABAL_512);", true);782ack("shabal512.algo", PGPHASHALGO_SHABAL_512);783ack("shabal512.asn1", null);784ack("shabal512.name", "SHABAL");785ack("shabal512.update(str);", true);786ack("shabal512.fini();", '4a7f0f707c1b0c1d12ddcfa8aa0f9d2410dd9bab57c2d56705fc1acb02066f99678738cedb20a2aba94842a441e77bc02656fe5690f98b421d029bfc4df09f91');787var shavite3_224 = new GPSEE.Dc(PGPHASHALGO_SHAVITE3_224);788ack("shavite3_224('');", '401d9f7dda63265b7b0c1cfebc196c1ce0cbe994dc6595bd0bb07fb4');789ack("shavite3_224.init(PGPHASHALGO_SHAVITE3_224);", true);790ack("shavite3_224.algo", PGPHASHALGO_SHAVITE3_224);791ack("shavite3_224.asn1", null);792ack("shavite3_224.name", "SHAVITE3");793ack("shavite3_224.update(str);", true);794ack("shavite3_224.fini();", 'ab74fc01e9fe46826bafb4383b3374174aeac9dbd2bdd0b2d18cf90f');795var shavite3_256 = new GPSEE.Dc(PGPHASHALGO_SHAVITE3_256);796ack("shavite3_256('');", '6646a740fd2bf0d79752627538777f32be04e22c3849d6c79fbbbcc2e68f4500');797ack("shavite3_256.init(PGPHASHALGO_SHAVITE3_256);", true);798ack("shavite3_256.algo", PGPHASHALGO_SHAVITE3_256);799ack("shavite3_256.asn1", null);800ack("shavite3_256.name", "SHAVITE3");801ack("shavite3_256.update(str);", true);802ack("shavite3_256.fini();", 'b89f6ce5ef30aa6a2da80ef1767ed90ef2e169f9fdd7b2d07b05157e9a59b04f');803var shavite3_384 = new GPSEE.Dc(PGPHASHALGO_SHAVITE3_384);804ack("shavite3_384('');", 'ac40319f6ebdb57a820d2dbc29218f9c58a319df0651d2550cda83a6778a57620aeb53762a677d8df6fda419f1d9a349');805ack("shavite3_384.init(PGPHASHALGO_SHAVITE3_384);", true);806ack("shavite3_384.algo", PGPHASHALGO_SHAVITE3_384);807ack("shavite3_384.asn1", null);808ack("shavite3_384.name", "SHAVITE3");809ack("shavite3_384.update(str);", true);810ack("shavite3_384.fini();", '7951ee74b2c791b96ea23678f9e1202f04fa4a328c65199e896aba4b33e739957eeeef81b19f9d67b82b0846af40fe0c');811var shavite3_512 = new GPSEE.Dc(PGPHASHALGO_SHAVITE3_512);812ack("shavite3_512('');", 'c25c67d74d00d9c69468c6b9e23b2d8732f953bf097fd79de15a828907bc3cbd640b8ee7ed3a456e6a840887ede15df6f4ba8c9771f5422267df667e26156e55');813ack("shavite3_512.init(PGPHASHALGO_SHAVITE3_512);", true);814ack("shavite3_512.algo", PGPHASHALGO_SHAVITE3_512);815ack("shavite3_512.asn1", null);816ack("shavite3_512.name", "SHAVITE3");817ack("shavite3_512.update(str);", true);818ack("shavite3_512.fini();", '6c7d3d688ecccbd285d6e7bb3cf00b10d292a45ec90f2b85426ece62eb068748e3a293c787196a920550ea0ac4b8d00e77a6066fb1c5952610d356dc8d0f589d');819var simd_224 = new GPSEE.Dc(PGPHASHALGO_SIMD_224);820ack("simd_224('');", '3a6b867e2fb0c448370e2855f3794b557124c81077373311103d0c64');821ack("simd_224.init(PGPHASHALGO_SIMD_224);", true);822ack("simd_224.algo", PGPHASHALGO_SIMD_224);823ack("simd_224.asn1", null);824ack("simd_224.name", "SIMD");825ack("simd_224.update(str);", true);826ack("simd_224.fini();", '1b7ef70809f56f20d5584491ffbf422ec4526f283664a9cb58bcc687');827var simd_256 = new GPSEE.Dc(PGPHASHALGO_SIMD_256);828ack("simd_256('');", '1a53c82220377d3e9a783b106210995a0f3931b6d002f99c243accd15dac587d');829ack("simd_256.init(PGPHASHALGO_SIMD_256);", true);830ack("simd_256.algo", PGPHASHALGO_SIMD_256);831ack("simd_256.asn1", null);832ack("simd_256.name", "SIMD");833ack("simd_256.update(str);", true);834ack("simd_256.fini();", 'a9569ffe053db1533641b631ea2a589114992564ad106fbe67edb7abfbadd91b');835var simd_384 = new GPSEE.Dc(PGPHASHALGO_SIMD_384);836ack("simd_384('');", 'c5f08c18d50448edf6924ec71616a3626687db426a99c1606f36918913a83b59411b58a6033447f005dc5153d7af0482');837ack("simd_384.init(PGPHASHALGO_SIMD_384);", true);838ack("simd_384.algo", PGPHASHALGO_SIMD_384);839ack("simd_384.asn1", null);840ack("simd_384.name", "SIMD");841ack("simd_384.update(str);", true);842ack("simd_384.fini();", 'd725c6408e188f482209982ae6129df43a7c562e2f9b84fb0281730e9de6db4d83cf0606f1cdd5c066522e15d8253d4b');843var simd_512 = new GPSEE.Dc(PGPHASHALGO_SIMD_512);844ack("simd_512('');", '426ab39fe63816339e65d100e34ddd593038852edc60e5eb166f3173b35a5124587c1d8bcc29b0cbb0930cf6eccac44a40f21895bb1bb7dd89c67e1f77010243');845ack("simd_512.init(PGPHASHALGO_SIMD_512);", true);846ack("simd_512.algo", PGPHASHALGO_SIMD_512);847ack("simd_512.asn1", null);848ack("simd_512.name", "SIMD");849ack("simd_512.update(str);", true);850ack("simd_512.fini();", '1c42e151ab96e0c9e378b7e8c8140aedcc553a3744a081eab8fd9c16bf4557f242d4a5fd7bc26ca71d38339387cfc57fd4cc79411d5258d0427b7ef9cf355429');851var tib3_224 = new GPSEE.Dc(PGPHASHALGO_TIB3_224);852ack("tib3_224('');", '0bb081f80b8d738cea5fde2ca9975ba4a5ad83196731b2432d8b3a18');853ack("tib3_224.init(PGPHASHALGO_TIB3_224);", true);854ack("tib3_224.algo", PGPHASHALGO_TIB3_224);855ack("tib3_224.asn1", null);856ack("tib3_224.name", "TIB3");857ack("tib3_224.update(str);", true);858ack("tib3_224.fini();", '096169965ba26b60e075c40cb5666d289d142ba6b5eb5bfeaee07186');859var tib3_256 = new GPSEE.Dc(PGPHASHALGO_TIB3_256);860ack("tib3_256('');", '67fcdaea6c8af476fa5f46fbc6f74bb7c47d1989170855385114b88c7be73677');861ack("tib3_256.init(PGPHASHALGO_TIB3_256);", true);862ack("tib3_256.algo", PGPHASHALGO_TIB3_256);863ack("tib3_256.asn1", null);864ack("tib3_256.name", "TIB3");865ack("tib3_256.update(str);", true);866ack("tib3_256.fini();", 'd14c723a5e6676afc53a92ffdf9ae66fdcfaca1ecef72a60dfafbec316f266e4');867var tib3_384 = new GPSEE.Dc(PGPHASHALGO_TIB3_384);868ack("tib3_384('');", '6968b5191ba3ccad2dab7a7cc4cc8ab4ea27c71a5a9868ec3c987909c8385345813fa5ad4097d0df7decfbff178b6671');869ack("tib3_384.init(PGPHASHALGO_TIB3_384);", true);870ack("tib3_384.algo", PGPHASHALGO_TIB3_384);871ack("tib3_384.asn1", null);872ack("tib3_384.name", "TIB3");873ack("tib3_384.update(str);", true);874ack("tib3_384.fini();", 'c59874e7a57724266238e9841ddbec63d67af12399eed11fc598f485b5ba0e779f41d0b10aa9eb0a5bd91647d618675b');875var tib3_512 = new GPSEE.Dc(PGPHASHALGO_TIB3_512);876ack("tib3_512('');", 'ca9b25aee65a2effb5fc6946a0bbae32055dd8e2f108f8411b4d4ea5f891a58766d10d5ebfa7bfcafb16502a5fc557120e8130d32bd9d80b67c45bdaeea8de58');877ack("tib3_512.init(PGPHASHALGO_TIB3_512);", true);878ack("tib3_512.algo", PGPHASHALGO_TIB3_512);879ack("tib3_512.asn1", null);880ack("tib3_512.name", "TIB3");881ack("tib3_512.update(str);", true);882ack("tib3_512.fini();", '98b174141294cfa25463777e2f37299aa4584f6d1156c631146ac75a84d9c05a06b33cec49cd2900dec9ae961bc8f27dae566f2c9d6ebf3702d0ce8f173524e7');883var tiger192 = new GPSEE.Dc(PGPHASHALGO_TIGER192);884ack("tiger192(str);", '2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93');885ack("tiger192.init(PGPHASHALGO_TIGER192);", true);886ack("tiger192.algo", PGPHASHALGO_TIGER192);887ack("tiger192.asn1", "3029300d06092b06010401da470c0205000418");888ack("tiger192.name", "TIGER192");889ack("tiger192.update(str);", true);890ack("tiger192.fini();", '2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93');891var crc32 = new GPSEE.Dc(PGPHASHALGO_CRC32);892ack("crc32(str);", '352441c2');893ack("crc32.init(PGPHASHALGO_CRC32);", true);894ack("crc32.algo", PGPHASHALGO_CRC32);895ack("crc32.asn1", null);896ack("crc32.name", "CRC32");897ack("crc32.update(str);", true);898ack("crc32.fini();", '352441c2');899var crc64 = new GPSEE.Dc(PGPHASHALGO_CRC64);900ack("crc64(str);", '2cd8094a1a277627');901ack("crc64.init(PGPHASHALGO_CRC64);", true);902ack("crc64.algo", PGPHASHALGO_CRC64);903ack("crc64.asn1", null);904ack("crc64.name", "CRC64");905ack("crc64.update(str);", true);906ack("crc64.fini();", '2cd8094a1a277627');907var adler32 = new GPSEE.Dc(PGPHASHALGO_ADLER32);908ack("adler32(str);", '024d0127');909ack("adler32.init(PGPHASHALGO_ADLER32);", true);910ack("adler32.algo", PGPHASHALGO_ADLER32);911ack("adler32.asn1", null);912ack("adler32.name", "ADLER32");913ack("adler32.update(str);", true);914ack("adler32.fini();", '024d0127');915var jlu32 = new GPSEE.Dc(PGPHASHALGO_JLU32);916ack("jlu32(str);", '110255fd');917ack("jlu32.init(PGPHASHALGO_JLU32);", true);918ack("jlu32.algo", PGPHASHALGO_JLU32);919ack("jlu32.asn1", null);920ack("jlu32.name", "JLU32");921ack("jlu32.update(str);", true);922ack("jlu32.fini();", '110255fd');...
Dbe.js
Source:Dbe.js
...49var home = "./rpmdb";50var eflags = DB_CREATE | DB_INIT_LOCK | DB_INIT_MPOOL | DB_INIT_REP | DB_INIT_TXN;51var emode = 0;52var dbenv = new rpmdbe.Dbe();53ack("typeof dbenv;", "object");54ack("dbenv instanceof rpmdbe.Dbe;", true);55ack("dbenv.debug = 1;", 1);56ack("dbenv.debug = 0;", 0);57ack('dbenv.version', 'Berkeley DB 4.8.26: (December 18, 2009)');58ack('dbenv.major', 4);59ack('dbenv.minor', 8);60ack('dbenv.patch', 26);61ack('dbenv.errpfx', null);62ack('dbenv.errpfx = home', home);63ack('dbenv.errpfx', home);64ack('dbenv.errfile', null);65ack('dbenv.errfile = "stderr"', 'stderr');66ack('dbenv.errfile', 'stderr');67ack('dbenv.cachemax', 265564);68ack('dbenv.cachesize', 265564);69ack('dbenv.ncaches', 1);70ack('dbenv.cachemax = 1318912', 1318912);71ack('dbenv.cachesize = 1312348', 1312348);72ack('dbenv.ncaches = 2', 2);73ack('dbenv.cachemax', 1318912);74ack('dbenv.cachesize', 2054206);75ack('dbenv.ncaches', 2);76ack('dbenv.lk_max_lockers = 1000', 1000);77ack('dbenv.lk_max_locks = 1000', 1000);78ack('dbenv.lk_max_objects = 1000', 1000);79ack('dbenv.mmapsize', 0);80ack('dbenv.mmapsize = 16*1024*1024', 16*1024*1024);81ack('dbenv.mmapsize', 16*1024*1024);82ack('dbenv.thread_count', 0);83ack('dbenv.thread_count = 64', 64);84ack('dbenv.thread_count', 64);85ack('dbenv.max_openfd', 0);86ack('dbenv.max_openfd = 100', 100);87ack('dbenv.max_openfd', 100);88ack('dbenv.shm_key', -1);89ack('dbenv.shm_key = 0x1234', 0x1234);90ack('dbenv.shm_key = home', home);91ack('dbenv.data_dirs', undefined);92ack('dbenv.data_dirs = "./data"', './data');93ack('dbenv.data_dirs', './data');94ack('dbenv.create_dir', null);95ack('dbenv.create_dir = "."', '.');96ack('dbenv.create_dir', null); // FIXME97ack('dbenv.idirmode', null);98ack('dbenv.idirmode = "rwxr-xr-x"', "rwxr-xr-x");99ack('dbenv.idirmode', 'rwxr-xr-x');100ack('dbenv.tmp_dir', null);101ack('dbenv.tmp_dir = "./tmp"', './tmp');102ack('dbenv.tmp_dir', './tmp');103ack('dbenv.lg_bsize', 0);104ack('dbenv.lg_bsize = 65536', 65536);105ack('dbenv.lg_bsize', 65536);106ack('dbenv.lg_dir', null);107ack('dbenv.lg_dir = "./log"', './log');108ack('dbenv.lg_dir', './log');109ack('dbenv.lg_filemode', 0);110ack('dbenv.lg_filemode = 0644', 420);111ack('dbenv.lg_filemode', 0644);112ack('dbenv.lg_max', 0);113ack('dbenv.lg_max = 10485760', 10485760);114ack('dbenv.lg_max', 10485760);115ack('dbenv.lg_regionmax', 130000);116ack('dbenv.lk_partitions = 40', 40);117ack('dbenv.log_inmemory = 0', 0);118// ack('dbenv.log_direct = 0', 0);119ack('dbenv.tx_max', 100);120ack('dbenv.tx_max = 100', 100);121ack('dbenv.tx_timestamp', 0);122ack('dbenv.tx_timestamp = 0x12345678', 305419896);123ack('dbenv.tx_timestamp', 0x12345678);124ack('dbenv.encrypt', 0);125// ack('dbenv.encrypt = "xyzzy"', true);126// ack('dbenv.encrypt', 1);127// -----128ack('dbenv.open(home, eflags, emode)', true);129ack('dbenv.home', home);130ack('dbenv.open_flags', eflags);131ack('dbenv.failchk()', true);132// var dbfile = "Stuff";133// ack('dbenv.fileid_reset(dbfile)', true);134// ack('dbenv.lsn_reset(dbfile)', true);135ack('dbenv.data_dirs', './data');136ack('dbenv.create_dir', null); // FIXME137ack('dbenv.flags', 0);138ack('dbenv.flags = DB_REGION_INIT', DB_REGION_INIT);139ack('dbenv.msgfile', null);140// ack('dbenv.msgfile = "stdout"', true);141ack('dbenv.mmapsize', 16*1024*1024);142ack('dbenv.mmapsize = 32*1024*1024', 32*1024*1024);143ack('dbenv.mmapsize', 32*1024*1024);144ack('dbenv.mutex_align', 4);145ack('dbenv.mutex_align = 4', 4);146ack('dbenv.mutex_inc', 0);147ack('dbenv.mutex_inc = 0', 0);148ack('dbenv.mutex_max', 0);149ack('dbenv.mutex_max = 0', 0);150ack('dbenv.mutex_spins', 200);151ack('dbenv.mutex_spins = 200', 200);152ack('dbenv.DB_SET_LOCK_TIMEOUT', 0);153ack('dbenv.DB_SET_LOCK_TIMEOUT = 0', 0);154ack('dbenv.DB_SET_TXN_TIMEOUT', 0);155ack('dbenv.DB_SET_TXN_TIMEOUT = 0', 0);156ack('dbenv.tmp_dir', './tmp');157ack('dbenv.verbose', undefined); // todo++158ack('dbenv.lk_conflicts', undefined); // todo++159ack('dbenv.lk_detect', DB_LOCK_DEFAULT);160ack('dbenv.lk_detect = DB_LOCK_DEFAULT', true);161ack('dbenv.lk_max_lockers', 1000);162ack('dbenv.lk_max_locks', 1000);163ack('dbenv.lk_max_objects', 1000);164ack('dbenv.lk_partitions', 40);165ack('dbenv.log_direct', false);166ack('dbenv.log_dsync', false);167ack('dbenv.log_dsync = 0', 0);168ack('dbenv.log_autorm', false);169ack('dbenv.log_autorm = 0', 0);170ack('dbenv.log_inmemory', false);171ack('dbenv.log_zero', false);172ack('dbenv.log_zero = 0', 0);173ack('dbenv.lg_bsize', 65536);174ack('dbenv.lg_dir', './log');175ack('dbenv.lg_filemode', 0644); // todo++176ack('dbenv.lg_max', 10485760);177ack('dbenv.lg_regionmax', 130000);178ack('dbenv.DB_REP_CONF_BULK', 0);179ack('dbenv.DB_REP_CONF_DELAYCLIENT', 0);180ack('dbenv.DB_REP_CONF_INMEM', 0);181ack('dbenv.DB_REP_CONF_LEASE', 0);182ack('dbenv.DB_REP_CONF_NOAUTOINIT', 0);183ack('dbenv.DB_REP_CONF_NOWAIT', 0);184ack('dbenv.DB_REPMGR_CONF_2SITE_STRICT', 0);185ack('dbenv.rep_limit', undefined);186ack('dbenv.rep_nsites', undefined);187ack('dbenv.rep_priority', undefined);188ack('dbenv.DB_REP_ACK_TIMEOUT', 1000000);189ack('dbenv.DB_REP_CHECKPOINT_DELAY', 30000000);190ack('dbenv.DB_REP_CONNECTION_RETRY', 30000000);191ack('dbenv.DB_REP_ELECTION_TIMEOUT', 2000000);192ack('dbenv.DB_REP_ELECTION_RETRY', 10000000);193ack('dbenv.DB_REP_FULL_ELECTION_TIMEOUT', 0);194ack('dbenv.DB_REP_HEARTBEAT_MONITOR', 0);195ack('dbenv.DB_REP_HEARTBEAT_SEND', 0);196ack('dbenv.DB_REP_LEASE_TIMEOUT', 0);197ack('dbenv.close(0)', true);198delete dbenv;...
Io.js
Source:Io.js
1if (loglvl) print("--> Io.js");2var GPSEE = require('rpmio');3var rpmst = require('rpmst');4var io = new GPSEE.Io();5ack("typeof io;", "object");6ack("io instanceof GPSEE.Io;", true);7ack("io.debug = 1;", 1);8ack("io.debug = 0;", 0);9ack("io() instanceof GPSEE.Io;", true);10var tmpdir = '/tmp';11var fn = tmpdir + '/io.file';12var yadda = 'yadda yadda';13ack("io(fn, 'w') instanceof GPSEE.Io;", true);14ack("io.path", fn);15ack("io.flags", 0x241);16ack("io.mode", 0666);17ack("io.cpioPos", 0);18ack("io.bytesRemain", -1);19ack("io.lastModified", 0);20ack("io.contentLength", -1);21ack("io.contentType", null);22ack("io.contentDisposition", null);23ack("io.digestinit() instanceof GPSEE.Io;", true);24ack("io.ndigests", 1);25ack("io.fwrite(yadda);", true);26ack("io.fflush();", true);27ack("io.fstat() instanceof rpmst.St;", true);28ack("io.fchown(-1,-1);", 0);29ack("io.ferror();", true);30ack("io.fileno();", 3);31ack("io.digestfini();", 'e1a8e5c3fdc6995bbfdc721dcf16c52b');32ack("io.cpioPos", 0);33ack("io.bytesRemain", -1);34ack("io.lastModified", 0);35ack("io.contentLength", -1);36ack("io.contentType", null);37ack("io.contentDisposition", null);38ack("io() instanceof GPSEE.Io;", true);39ack("io(fn, 'r') instanceof GPSEE.Io;", true);40ack("io.path", fn);41ack("io.flags", 0x0);42ack("io.mode", 0666);43ack("io.cpioPos", 0);44ack("io.bytesRemain", -1);45ack("io.lastModified", 0);46ack("io.contentLength", -1);47ack("io.contentType", null);48ack("io.contentDisposition", null);49ack("io.digestinit() instanceof GPSEE.Io;", true);50ack("io.ndigests", 1);51ack("io.fread();", yadda);52ack("io.fstat() instanceof rpmst.St;", true);53ack("io.fchown(-1,-1);", 0);54ack("io.ferror();", true);55ack("io.fileno();", 3);56ack("io.digestfini();", 'e1a8e5c3fdc6995bbfdc721dcf16c52b');57ack("io.cpioPos", 0);58ack("io.bytesRemain", -1);59ack("io.lastModified", 0);60ack("io.contentLength", -1);61ack("io.contentType", null);62ack("io.contentDisposition", null);63ack("io() instanceof GPSEE.Io;", true);64ack("io(fn, 'r.fpio') instanceof GPSEE.Io;", true);65ack("io.path", fn);66ack("io.flags", 0x0);67ack("io.mode", 0666);68ack("io.cpioPos", 0);69ack("io.bytesRemain", -1);70ack("io.lastModified", 0);71ack("io.contentLength", -1);72ack("io.contentType", null);73ack("io.contentDisposition", null);74ack("io.fseek(5);", 0);75ack("io.ftell();", 5);76ack("io.rewind();", true);77ack("io.ftell();", 0);78ack("io.fread();", yadda);79ack("io.fstat() instanceof rpmst.St;", true);80ack("io.fchown(-1,-1);", 0);81ack("io.ferror();", true);82ack("io.fileno();", 3);83ack("io.cpioPos", 0);84ack("io.bytesRemain", -1);85ack("io.lastModified", 0);86ack("io.contentLength", -1);87ack("io.contentType", null);88ack("io.contentDisposition", null);89ack("io() instanceof GPSEE.Io;", true);90delete io;...
Using AI Code Generation
1const redwood = require('redwood');2const { ack } = redwood;3ack('Hello World');4const { ack } = require('redwood');5ack('Hello World');6const { ack } = require('redwood');7ack('Hello World');8const { ack } = require('redwood');9ack('Hello World');10const { ack } = require('redwood');11ack('Hello World');12const { ack } = require('redwood');13ack('Hello World');14const { ack } = require('redwood');15ack('Hello World');16const { ack } = require('redwood');17ack('Hello World');18- [ack](#ack)19- [ack](#ack-1)20- [ack](#ack-2)21- [ack](#ack-3)22- [ack](#ack-4)23- [ack](#ack-5)24- [ack](#ack-6)25- [ack](#ack-7)26- [ack](#ack-8)27- [ack](#ack-9)28- [ack](#ack-10)29- [ack](#ack-11)30- [ack](#ack-12)31- [ack](#ack-13)32- [ack](#ack-14)33- [ack](#ack-15)34- [ack](#ack-16)35- [ack](#ack-17)36- [ack](#ack-18)37- [ack](#ack-19)38- [ack](#ack-20)39- [ack](#ack-21)40- [ack](#ack-22)41- [ack](
Using AI Code Generation
1import { ack } from "@redwoodjs/api"2export const handler = async (event, context) => {3 return ack({ data: 'Hello World' })4}5query {6 test {7 }8}9query {10 test {11 }12}13{14 "data": {15 "test": {16 }17 }18}
Using AI Code Generation
1import { ack } from '@redwoodjs/web'2export const handler = async () => {3 return ack({ message: 'Hello World' })4}5import { rpc } from '@redwoodjs/web'6export const handler = async () => {7 return rpc({ message: 'Hello World' })8}9import { redirect } from '@redwoodjs/web'10export const handler = async () => {11 return redirect('/home')12}13import { router } from '@redwoodjs/web'14export const handler = async () => {15 return router({ message: 'Hello World' })16}17import { webhooks } from '@redwoodjs/web'18export const handler = async () => {19 return webhooks({ message: 'Hello World' })20}21import { withAuth } from '@redwoodjs/web'22export const handler = async () => {23 return withAuth({ message: 'Hello World' })24}25import { withCell } from '@redwoodjs/web'26export const handler = async () => {27 return withCell({ message: 'Hello World' })28}29import { withForm } from '@redwoodjs/web'30export const handler = async () => {31 return withForm({ message: 'Hello World' })32}
Using AI Code Generation
1import { ack } from '@redwoodjs/api'2export const handler = async (event, context) => {3 return ack({ body: 'Hello world!' })4}5import { ack } from '@redwoodjs/api'6export const handler = async (event, context) => {7 const { requestContext } = event8 const { identity } = requestContext9 const { sourceIp } = identity10 return ack({ body: sourceIp })11}12import { ack } from '@redwoodjs/api'13export const handler = async (event, context) => {14 return ack({ body: 'Hello world!' }).cookie('foo', 'bar')15}16import { ack } from '@redwoodjs/api'17export const handler = async (event, context) => {18 return ack({ body: 'Hello world!' }).cookie('foo', 'bar', {19 })20}21import { ack } from '@redwoodjs/api'22export const handler = async (event, context) => {23 const { cookies } = event24 return ack({ body: cookies.foo })25}26import { ack } from '@redwoodjs/api'27export const handler = async (event, context) => {28 return ack({ body: 'Hello world!' }).header('foo', 'bar')29}30import { ack } from '@redwoodjs/api'31export const handler = async (event, context) => {32 const { headers } = event33 return ack({ body: headers.foo })34}35import { ack } from '@redwoodjs/api'36export const handler = async (event, context) => {37 return ack({ body: 'Hello world!' }).status(404)38}39import { ack } from '@
Using AI Code Generation
1var redwood = require("redwood");2var rw = new redwood.Redwood();3rw.ack({id: 1, type: "message", data: "hi"}, function(err, data) {4 if(err) {5 console.log(err);6 } else {7 console.log(data);8 }9});10var redwood = require("redwood");11var rw = new redwood.Redwood();12rw.ack({id: 1, type: "message", data: "hi"}, function(err, data) {13 if(err) {14 console.log(err);15 } else {16 console.log(data);17 }18});
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!