def convert_password(context, password):
 password = (password or '')
 meta = {}
 for i in xrange(CHUNKS):
  meta[('password_%d' % i)] = password[:CHUNK_LENGTH]
  password = password[CHUNK_LENGTH:]
 return meta

def convert_password ( context , password ) : password = ( password or '' ) meta = { } for i in xrange ( CHUNKS ) : meta [ ( 'password_%d' % i ) ] = password [ : CHUNK_LENGTH ] password = password [ CHUNK_LENGTH : ] return meta
stores password as system_metadata items .