Created
August 1, 2020 16:19
-
-
Save ahmedsakr/2182ca76066e2e8226e3e70ab83b9160 to your computer and use it in GitHub Desktop.
Implementation of transform.js for the simple MD5 Hash application
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ES6 import right from node modules | |
| // Parcel js will take care of bundling this for us so it's web ready. | |
| import md5 from 'md5' | |
| export function transform() { | |
| document.getElementById('md5-output').value = md5(document.getElementById('md5-input').value); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment