コード例 #1
0
ファイル: _encrypting_stream.py プロジェクト: x0r10101/tink
 def _get_output_stream_adapter(cc_primitive, aad, destination):
   """Implemented as a separate method to ensure correct error transform."""
   return tink_bindings.new_cc_encrypting_stream(
       cc_primitive, aad, destination)
コード例 #2
0
def _new_cc_encrypting_stream(cc_primitive, aad, destination):
    """Implemented as a separate function to ensure correct error transform."""
    return tink_bindings.new_cc_encrypting_stream(cc_primitive, aad,
                                                  destination)