MCPcopy Create free account
hub / github.com/0linlin0/CyberBox / CryptLib

Method CryptLib

Skay_Exp/src/tools/CryptLib.java:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 byte[] _key, _iv;
48
49 public CryptLib() throws NoSuchAlgorithmException, NoSuchPaddingException {
50 // initialize the cipher with transformation AES/CBC/PKCS5Padding
51 _cx = Cipher.getInstance("AES/CBC/PKCS5Padding");
52 _key = new byte[32]; //256 bit key space
53 _iv = new byte[16]; //128 bit IV
54 }
55
56 /**
57 * Note: This function is no longer used.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected