Android Question Encryption library?

MotoMusher

Active Member
Licensed User
Longtime User
I apologize if I am missing the obvious.

I need to get the SHA-1 hash of a file. I have seen several references to the "Encryption" library to gain access to the "MessageDigest" via the following

B4X:
passwordhash = md.GetMessageDigest(p.GetBytes("UTF8"),"SHA-1")

Most of the posts are 5+ years old.

Is the "Encryption" library still the best practice, and if so, where do I get the Encryption library?
 

DonManfred

Expert
Licensed User
Longtime User
 
Upvote 0
Top