set up NoUtil to use a env secret key

This commit is contained in:
Dave
2015-07-03 23:24:57 +02:00
parent c0b2c1c82d
commit 788e2a8dc4
9 changed files with 33 additions and 34 deletions

View File

@@ -23,11 +23,6 @@ import org.junit.Test;
public class NoUtilTest {
@Before
public void setup() throws NoSuchAlgorithmException, NoSuchPaddingException, NoSuchProviderException {
NoCore.setup();
}
@Test
public void testAllowedKeySize() throws NoSuchAlgorithmException {
if (Cipher.getMaxAllowedKeyLength(NoUtil.CIPHER_KEY_SPEC) < NoUtil.AES_STRENGTH) {