Skip to content

Instantly share code, notes, and snippets.

@jckdotim
Created December 9, 2011 16:57
Show Gist options
  • Save jckdotim/1452370 to your computer and use it in GitHub Desktop.
Save jckdotim/1452370 to your computer and use it in GitHub Desktop.
@lat.expression
def lat(cls):
decrypted = expr.func.aes_decrypt(
expr.func.unhex(cls.encrypted_lat), aes_key)
return cast(decrypted, db.Float(25))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment