how to encrypt string in ebase?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

how to encrypt string in ebase?

#1

Postby t4nu » Thu Mar 17, 2016 11:27 pm

Hi,
Is there any built in function or something that can be used within ebase script to encrypt the string?
Thanks in advance for the help.
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#2

Postby Steve James » Fri Mar 18, 2016 9:06 am

0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Wed Mar 23, 2016 10:03 pm

Thanks.
I think it would be great if there are examples on it.
Steve James wrote:The help system is pretty good.

http://dev-docs.verj.io/ufs/search.jsp?query=encrypt
0 x

Steve James
Ebase User
Posts: 331
Joined: Mon Mar 10, 2014 8:34 am

#4

Postby Steve James » Thu Mar 24, 2016 9:14 am

I agree examples would be good.

Code: Select all

var encryptedValue = EncryptionServices.encrypt("Fred");
log encryptedValue; 

var name = EncryptionServices.decrypt(encryptedValue);
log name;
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#5

Postby t4nu » Mon Mar 28, 2016 8:21 am

Thank you :D
Steve James wrote:I agree examples would be good.

Code: Select all

var encryptedValue = EncryptionServices.encrypt("Fred");
log encryptedValue; 

var name = EncryptionServices.decrypt(encryptedValue);
log name;
0 x


Who is online

Users browsing this forum: No registered users and 11 guests