IOS and PHP

83 views
Skip to first unread message

Nghĩa Hữu Huỳnh

unread,
May 19, 2016, 6:10:37 PM5/19/16
to rncryptor
I have a string encrypt on swift and send it to service written by php
I try decrypt string on that server. Althought i know private key. i can't decypt it
Is there any missmatch between rncryptor v4 on swift and v3 on php

Rob Napier

unread,
May 19, 2016, 6:13:28 PM5/19/16
to rncr...@googlegroups.com
Those two versions should work fine together. Please see:


Generally if you're seeing a problem, you're not encoding your data correctly to send it to the server, or you're not decoding your data correctly on the server.

Note that it is unusual to use RNCryptor with a "private key." I assume you mean a password? They are different, and have different APIs in RNCryptor. Make sure you're using a password on both sides (or keys on both sides).

-Rob


--
You received this message because you are subscribed to the Google Groups "rncryptor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rncryptor+...@googlegroups.com.
Visit this group at https://groups.google.com/group/rncryptor.
For more options, visit https://groups.google.com/d/optout.



--
Rob Napier
Cocoaphony blog -- http://robnapier.net/blog
iOS Programming Pushing the Limits -- http://robnapier.net/book
Reply all
Reply to author
Forward
0 new messages