SecureRandom random;
static final int SALT_SIZE = 8;
byte salt[];
+ Table table;
/**
* Empty Constructor needed for child class.
* Constructor for actual use. Takes in the url and password.
*/
- CloudComm(String _baseurl, String _password) {
+ CloudComm(Table _table, String _baseurl, String _password) {
+ this.table=_table;
this.baseurl=_baseurl;
this.password = _password;
this.random = new SecureRandom();
data = decryptCipher.doFinal(data);
- slots[i]=Slot.decode(data, mac);
+ slots[i]=Slot.decode(table, data, mac);
}
dis.close();
return slots;