@Test
public void testSignNullKey() {

    try {
        crypto.sign(null, new byte[] {(byte) 0x00});
        Assert.fail("sign() should have thrown an exception");
    } catch (CryptoException e) {
    }
}