Questions tagged [cryptoswift]

CryptoSwift is a collection of standards and algorithms to fulfill most cryptographic needs.

CryptoSwift is a collection of standards and algorithms to fulfill most cryptographic needs.

81 questions
0
votes
1 answer

Why this error comes while using CryptoSwift framework in ios using swift language?

For getting md5 hash tag in swift i am using the CryptoSwift framework. Followed the procedures of installing it and everything is done right. But while compiling i am getting errors in cryptoswift which is shown in image below. Swift really a…
0
votes
1 answer

Using CryptoSwift Library with Xcode

I am trying to use the CrpytoSwift Library in Xcode, and I have tried many tutorials to add it to my project, however when i import it it throws the 'module not found error'. Is there something Im missing? (I've included the links I followed…
bshah
  • 140
  • 1
  • 11
0
votes
1 answer

How to decrypt AES 128 with swift using CryptoSwift framework

I'm working on swift project that is scanning QR codes and getting encrypted AES-128 data that needs to be decrypted. I'm using a framework that is called CryptoSwift. I have the key and data from QR code that holds the encrypted data. var key =…
Yusuf
  • 63
  • 2
  • 11
0
votes
1 answer

Swift CryptoSwift library causing error "fatal error: Array index out of range"

i have used CryptoSwift for AES encryption/decryption. when i run this code it throws error: "fatal error: Array index out of range". using reference from here What can be the cause for this? Any suggestion will be most appreciate. code: let key…
Ruchi
  • 5,032
  • 13
  • 59
  • 84
-1
votes
1 answer

AES GCM key derivation swift

I'm trying to implement in swift the equivalent of my code in java. Basically is an AES implementation with GCM padding and I'm using a key derivation for that. In swift I'm using the CryptoSwift library. My issue is that I cannot get the same…
snake_404
  • 111
  • 5
  • 15
-1
votes
2 answers

why does the CryptoSwift function ChaCha20(key: "Key", iv: "Iv") return nil instead of throwing an error?

I am currently trying to make my own password manager application similar to master password, which uses an algorithm to generate passwords so they do not have to be stored on the clients computer or online. To achieve this I have decided to use the…
iProgram
  • 6,057
  • 9
  • 39
  • 80
1 2 3 4 5
6