#NEWLINE# def _rawPrivateKeyOp( self , m ) : #NEWLINE# #INDENT# s = numberToString ( m ) #NEWLINE# byteLength = numBytes ( self . n ) #NEWLINE# if ( len ( s ) == byteLength ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( len ( s ) == ( byteLength - 1 ) ) : #NEWLINE# #INDENT# s = ( '\x00' + s ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise AssertionError ( ) #NEWLINE# #UNINDENT# #UNINDENT# c = stringToNumber ( m2 . rsa_private_encrypt ( self . rsa , s , m2 . no_padding ) ) #NEWLINE# return c