test: crypto in rights.js getestet