#!/usr/bin/env python3 k = get_password_key() h = password_encode('admin123') return json.dumps({'key': k, 'hash': h}, ensure_ascii=False)