/** * @param blowfishKey */ public NewCrypt(byte[] blowfishKey) { /* _crypt = new BlowfishEngine(); _crypt.Init(true, new KeyParameter(blowfishKey)); _decrypt = new BlowfishEngine(); _decrypt.Init(false, new KeyParameter(blowfishKey));*/ _crypt = new BlowfishEngine(); _crypt.Init(true, blowfishKey); _decrypt = new BlowfishEngine(); _decrypt.Init(false, blowfishKey); }
/** * @param blowfishKey */ public NewCrypt(byte[] blowfishKey) { /* _crypt = new BlowfishEngine(); * _crypt.Init(true, new KeyParameter(blowfishKey)); * _decrypt = new BlowfishEngine(); * _decrypt.Init(false, new KeyParameter(blowfishKey));*/ _crypt = new BlowfishEngine(); _crypt.Init(true, blowfishKey); _decrypt = new BlowfishEngine(); _decrypt.Init(false, blowfishKey); }