chrome/test/mini_installer/variable_expander.py
def _GetUserSpecificRegistrySuffix():
    """Returns '.' + the unpadded Base32 encoding of the MD5 of the user's SID.

    The result must match the output from the method
    UserSpecificRegistrySuffix::GetSuffix() in
    chrome/installer/util/shell_util.cc. It will always be 27 characters long.
    """
    token_handle = win32security.OpenProcessToken(win32api.GetCurrentProcess(),
                                                  win32security.TOKEN_QUERY)
    user_sid, _ = win32security.GetTokenInformation(token_handle,
                                                    win32security.TokenUser)
    user_sid_string = win32security.ConvertSidToStringSid(user_sid)
    md5_digest = hashlib.md5(user_sid_string).digest()
    return '.' + base64.b32encode(md5_digest).rstrip('=')
Returns '.' + the unpadded Base32 encoding of the MD5 of the user's SID.

    The result must match the output from the method
    UserSpecificRegistrySuffix::GetSuffix() in
    chrome/installer/util/shell_util.cc. It will always be 27 characters long.
    
Returns '.' + the unpadded Base32 encoding of the MD5 of the user's SID.
The result must match the output from the method
UserSpecificRegistrySuffix::GetSuffix() in
chrome/installer/util/shell_util.cc. It will always be 27 characters long.
Returns ' . ' + the unpadded Base32 encoding of the MD5 of the user ' s SID . The result must match the output from the method UserSpecificRegistrySuffix :: GetSuffix () in chrome / installer / util / shell_util . cc . It will always be 27 characters long .
def _GetUserSpecificRegistrySuffix():
    token_handle = win32security.OpenProcessToken(win32api.GetCurrentProcess(),
                                                  win32security.TOKEN_QUERY)
    user_sid, _ = win32security.GetTokenInformation(token_handle,
                                                    win32security.TokenUser)
    user_sid_string = win32security.ConvertSidToStringSid(user_sid)
    md5_digest = hashlib.md5(user_sid_string).digest()
    return '.' + base64.b32encode(md5_digest).rstrip('=')
def _GetUserSpecificRegistrySuffix ( ) : token_handle = win32security . OpenProcessToken ( win32api . GetCurrentProcess ( ) , win32security . TOKEN_QUERY ) user_sid , _ = win32security . GetTokenInformation ( token_handle , win32security . TokenUser ) user_sid_string = win32security . ConvertSidToStringSid ( user_sid ) md5_digest = hashlib . md5 ( user_sid_string ) . digest ( ) return '.' + base64 . b32encode ( md5_digest ) . rstrip ( '=' )
Returns '.'
Returns ' . '
"""Returns '.' + the unpadded Base32 encoding of the MD5 of the user's SID.

    The result must match the output from the method
    UserSpecificRegistrySuffix::GetSuffix() in
    chrome/installer/util/shell_util.cc. It will always be 27 characters long.
    """