reverted crypt lib