Skip to content

Commit

Permalink
add line between 2 functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainL972 committed Feb 14, 2020
1 parent 7b88716 commit 12acf02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def keyToJson(key):
def stripPrivateKey(key):
return dict((k, v) for k, v in key.items() if k != "d")


def keyToBase64(key):
return base64.b64encode(keyToJson(stripPrivateKey(key)).encode())

Expand Down

0 comments on commit 12acf02

Please sign in to comment.