I'm getting an encrypted md5 base 64 string encrypted with a key, this encryption is done in .Net, I need to decrypt that string using swift 4, but i can't find the way to to this, has anyone know if this is possible?
decrypt MD5 base64 with Swift 4
2.9k Views Asked by Barcenas At
1
There are 1 best solutions below
Related Questions in SWIFT
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Swift code with multiple NSDateFormatter - optimization
- How do I add multiple in app purchases in Swift Spritekit?
- cellForRowAtIndexPath and prepareForSegue return different label colors
- Getting this message in my console in xcode "Ignoring restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions"?
- Change background of an Accessory View in a UITableViewCell
- fade in an bounce animation subview
- Create a PFObject and PFRelation after PFUser Sign Up
- Swift 2 - Pattern matching in "if"
- How do I give inputs through NSURL
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- Compiler complains that 'Expression resolved to unused function' when removing index in array of functions
- Cast from 'Int?' to unrelated type 'NSNumber' always fails
Related Questions in CRYPTOGRAPHY
- Do I have to randomize key in OpenSSL
- An exception of type 'System.Security.Cryptography.CryptographicException': keyset does not exist
- crypto.BadPaddingException: data hash wrong (EKYC-Response)
- Decrypted string returns "Length of the data to decrypt is invalid"
- Generate signature using private key with OpenSSL API
- Recovering an ECPublicKey from Java to JavaCard
- Proxy tool for CoAP integrated with DTLS
- Using CmsEnvelopedData with CmsSignedData to verify signed data
- Unchecked returned value causing unexpected states and conditions
- SQL-Server Verify SHA2_512 hash procedure
- SagePay Protocol 3.00 Encryption Error with ASP.NET
- Encrypting with PHP; decrypting with CryptoJS
- How can I write a function to recreate the original text obscured here by css magic?
- What encoding does [BouncyCastle] PKCS10CertificationRequest.getEncoded() return?
- Is integer comparison in Python constant time?
Related Questions in BASE64
- Regex to get vCard base64 string (C#)
- writing into file (Converting Base64 to Binary) values Using VFS and ESB 4.8.1
- Can I POST or PUT an image to Django RESTful API using $resource of AngularJs or rather javascript in general?
- Python base32 data decode
- Encode array to base64 in go
- Save Task<string> type to String giving Catastrophic failure
- How to read a Base64 string as a file, on server side, without saving it in web server, directly by PHP?
- Angular base64 video interpolation fail ($sce)
- Gmail API playground: Send method, converted MIME raw header not populating email fields on send
- Convert data to base64 encode in go
- Base64Decode to file - whats missing?
- How can i save base64 to image file on cordova / ionic or upload to server?
- How to save encoded Base64 strings from database, to files, on disk?
- PHP base64 encoding drops incorrect answer
- base64 image open in new tab with fancybox, instead of the classic "popup"
Related Questions in MD5
- Trouble validating md5 hashed password with randomly generated salt?
- What is the equivalent of PHP's md5(str, true)?
- Hexdigest in Python
- NSData dataWithContentsOfFile returns different results on device
- PHP Compare a crypted password from db with an inserted password from a form
- Amazon Marketplace - MD5 content-header of XML in curl
- Convert md5 in base64 in md5 of 32 characters with PHP
- How safe is the md5 hashing algorithmic if I know part of the original data
- ContentMD5 Amazon S3 Upload Bad Digest
- Generate MD5 Hash of String in JRuby
- Formatting issue with md5deep
- A few questions about md5 collision in production
- C# - How to hash MD5 for more than one file at the same time?
- Is this a bad practice for storing passwords in PHP?
- Argument of type "unsigned long *" is incompatible with parameter of type "HCRYPTHASH *"
Related Questions in CRYPTOGRAPHIC-HASH-FUNCTION
- Why did Git and Mercurial use SHA1
- PHP Encryption is not matching with the asp.net encryption
- Is there an Erlang equivalent to Python's `passlib`?
- What are the other data that can be retrieved from comparing hash values of two files?
- Does a linear cryptographic hash function exist?
- Why does using salted hash on python and php give me different results?
- What is difference between CRYPT() and MD5()?
- how to convert function from VB.net to C#?
- How to best compose two cryptographic hashes?
- How to write a perfect hash function for 36 strings?
- decrypt MD5 base64 with Swift 4
- Is there a C hashing function with no dependencies?
- Generate strong password from a Big Integer
- Is SHA1 safe for hashing passwords when used with additional 128bit random salt?
- Python 3.6 equivalent of md5 digest() method?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
MD5 is what's known as a hashing algorithm, which is fundamentally different from an encryption algorithm. It was designed to be a one-way process whereas encryption can be decrypted to obtain the original data.
If you're looking to decrypt the data passed from .Net then it's going to need to be passed as encrypted, not hashed. There are many encryption options to choose from and some of the more popular ones are easily incorporated into a .Net project via NuGet.
If you have the key and the string, and need to ensure the hash sent wasn't tampered with then the link Ryan posted in the comments is what you're looking for.