public byte[] getKey() {
        return key;
    }
@Test
    public void shouldGenerateAValidAndSafeDESKey() throws Exception {
        DESCipherProvider desCipherProvider = new DESCipherProvider(new SystemEnvironment());
        byte[] key = desCipherProvider.getKey();
        assertThat(DESKeySpec.isWeak(key, 0), is(false));
    }