Advance Encrypt in smartcode is used to allows to encrypt data by given algorithm by user.
Smart Code
Syntax
Orefuncs.Encrypt(Variable Name, Type, Message, Secret Key);
- Variable = Name of the variable to store the length of the given string.
- Type = Pre-defined Algorithm name will be displayed.
- Message = Message need to encrypt will be assigned.
- Secret Key = Unique secret key will be entered.
Direct Code
Syntax
try {
var <<Variable_Name>>= await Orefuncs.Encrypt(“<<Type>>”, “<<Message>>”, “<<Secret Key>>”);
}
catch(ex) {
OreAlert.alert(ex.message);
}
this.setState({ spinner: false });