Skip to content

Instantly share code, notes, and snippets.

@joetannenbaum
Created February 6, 2017 17:10
Show Gist options
  • Save joetannenbaum/5aa187590ace406899c87bbe6cfd86d4 to your computer and use it in GitHub Desktop.
Save joetannenbaum/5aa187590ace406899c87bbe6cfd86d4 to your computer and use it in GitHub Desktop.
<?php
$hashed_id = Hasher::encode(1);
$id = Hasher::decode($hashed_id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment