Searched refs:keySizeInBytes (Results 1 – 2 of 2) sorted by relevance
71 private static SecretKey deriveKeyInsecurely(String password, int keySizeInBytes) { in deriveKeyInsecurely() argument74 InsecureSHA1PRNGKeyDerivator.deriveInsecureKey(passwordBytes, keySizeInBytes), in deriveKeyInsecurely()81 private SecretKey deriveKeySecurely(String password, int keySizeInBytes) { in deriveKeySecurely() argument84 100 /* iterationCount */, keySizeInBytes * 8 /* key size in bits */); in deriveKeySecurely()
38 public static byte[] deriveInsecureKey(byte[] seed, int keySizeInBytes) { in deriveInsecureKey() argument41 byte[] key = new byte[keySizeInBytes]; in deriveInsecureKey()