How can I encrypt/decrypt a string with DES algorithm on iOS using Rubymotion?
There are very few examples even on Obj-C, and they are hardly translatable to Rubymotion.
How can I encrypt/decrypt a string with DES algorithm on iOS using Rubymotion?
There are very few examples even on Obj-C, and they are hardly translatable to Rubymotion.
I had to install CommonCrypto pod.
After I used this code to encrypt with DES:
Also you can check other aviable encryption and decryption methods in
/vendors/Pods/CommonCrypto/NSData+CommonCrypto.m
file.