}
@Test
public void testPasswordBasedKeyDecryptRawBytes() throws Exception {
Pbkdf2 pbkdf2 = AeroGearCrypto.pbkdf2();
byte[] rawPassword = pbkdf2.encrypt(PASSWORD);
PrivateKey privateKey = new PrivateKey(rawPassword);
CryptoBox cryptoBox = new CryptoBox(privateKey);
byte[] IV = HEX.decode(CRYPTOBOX_IV);
byte[] expectedMessage = HEX.decode(CRYPTOBOX_MESSAGE);