Skip to content

Instantly share code, notes, and snippets.

@ahmedsakr
Created August 1, 2020 16:19
Show Gist options
  • Select an option

  • Save ahmedsakr/2182ca76066e2e8226e3e70ab83b9160 to your computer and use it in GitHub Desktop.

Select an option

Save ahmedsakr/2182ca76066e2e8226e3e70ab83b9160 to your computer and use it in GitHub Desktop.
Implementation of transform.js for the simple MD5 Hash application
// 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