Пример #1
0
 public static SecretKey func_75890_a() {
   CipherKeyGenerator cipherkeygenerator = new CipherKeyGenerator();
   cipherkeygenerator.init(new KeyGenerationParameters(new SecureRandom(), 128));
   return new SecretKeySpec(cipherkeygenerator.generateKey(), "AES");
 }
Пример #2
0
 @SideOnly(Side.CLIENT)
 public static SecretKey func_75890_a() {
   CipherKeyGenerator var0 = new CipherKeyGenerator();
   var0.init(new KeyGenerationParameters(new SecureRandom(), 128));
   return new SecretKeySpec(var0.generateKey(), "AES");
 }