Anubis cypher implementation in JavaScript