src/test/java/at/favre/tools/dice/rnd/HmacDrbgSha256NistTestVectors.java
@Test
    public void testHmacDrbgNistCase0() {
        byte[] entropy = hex("ca851911349384bffe89de1cbdc46e6831e44d34a4fb935ee285dd14b71a7488");
        byte[] nonce = hex("659ba96c601dc69fc902940805ec0ca8");
        byte[] expected = hex(
                "e528e9abf2dece54d47c7e75e5fe302149f817ea9fb4bee6f4199697d04d5b89d54fbb978a15b5c443c9ec21036d2460b6f73ebad0dc2aba6e624abf07745bc107694bb7547bb0995f70de25d6b29e2d3011bb19d27676c07162c8b5ccde0668961df86803482cb37ed6d5c0bb8d50cf1f50d476aa0458bdaba806f48be9dcb8");

        testDrbg(entropy, nonce, new byte[0], expected);
        testDrbg(entropy, nonce, null, expected);
    }
// ==== Test vectors for HMAC_DRBG with no personalization. ====
Test vectors for HMAC_DRBG with no personalization.
Test vectors for HMAC_DRBG with no personalization .
@Test
    public void testHmacDrbgNistCase0() {
        byte[] entropy = hex("ca851911349384bffe89de1cbdc46e6831e44d34a4fb935ee285dd14b71a7488");
        byte[] nonce = hex("659ba96c601dc69fc902940805ec0ca8");
        byte[] expected = hex(
                "e528e9abf2dece54d47c7e75e5fe302149f817ea9fb4bee6f4199697d04d5b89d54fbb978a15b5c443c9ec21036d2460b6f73ebad0dc2aba6e624abf07745bc107694bb7547bb0995f70de25d6b29e2d3011bb19d27676c07162c8b5ccde0668961df86803482cb37ed6d5c0bb8d50cf1f50d476aa0458bdaba806f48be9dcb8");
        testDrbg(entropy, nonce, new byte[0], expected);
        testDrbg(entropy, nonce, null, expected);
    }
@ Test public void testHmacDrbgNistCase0 ( ) { byte [ ] entropy = hex ( "ca851911349384bffe89de1cbdc46e6831e44d34a4fb935ee285dd14b71a7488" ) ; byte [ ] nonce = hex ( "659ba96c601dc69fc902940805ec0ca8" ) ; byte [ ] expected = hex ( "e528e9abf2dece54d47c7e75e5fe302149f817ea9fb4bee6f4199697d04d5b89d54fbb978a15b5c443c9ec21036d2460b6f73ebad0dc2aba6e624abf07745bc107694bb7547bb0995f70de25d6b29e2d3011bb19d27676c07162c8b5ccde0668961df86803482cb37ed6d5c0bb8d50cf1f50d476aa0458bdaba806f48be9dcb8" ) ; testDrbg ( entropy , nonce , new byte [ 0 ] , expected ) ; testDrbg ( entropy , nonce , null , expected ) ; }
Test vectors for HMAC_DRBG with no personalization.
Test vectors for HMAC_DRBG with no personalization .