9 lines
192 B
Python
9 lines
192 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
sys.path.append('/srv/sahana')
|
|
|
|
from gluon import CRYPT
|
|
print str(CRYPT(key=os.environ['SAHANA_HMAC'], digest_alg='sha512')('ZsG:nzP4Tv@AdX1L')[0])
|