From 383383569ea34ee02653c18cae6b53a77ae0f73e Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Mon, 23 May 2016 10:20:44 +0100 Subject: [PATCH] update docs strings in steam.core.crypto --- docs/api/steam.core.crypto.rst | 1 - steam/core/crypto.py | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/api/steam.core.crypto.rst b/docs/api/steam.core.crypto.rst index f1c39b9..d728113 100644 --- a/docs/api/steam.core.crypto.rst +++ b/docs/api/steam.core.crypto.rst @@ -4,4 +4,3 @@ crypto .. automodule:: steam.core.crypto :members: :undoc-members: - :show-inheritance: diff --git a/steam/core/crypto.py b/steam/core/crypto.py index d2e56d3..ae16ec4 100644 --- a/steam/core/crypto.py +++ b/steam/core/crypto.py @@ -1,3 +1,6 @@ +""" +All function in this module take and return :class:`bytes` +""" import sys from os import urandom as random_bytes from struct import pack @@ -13,6 +16,8 @@ backend = cryptography.hazmat.backends.default_backend() class UniverseKey(object): + """Public keys for Universes""" + Public = backend.load_der_public_key(b64decode(""" MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDf7BrWLBBmLBc1OhSwfFkRf53T 2Ct64+AVzRkeRuh7h3SiGEYxqQMUeYKO6UWiSRKpI2hzic9pobFhRr3Bvr/WARvY