lib/daniel/converter.rb
# Generate a reminder for the new master password.
#
# @param oldrem [String] reminder for the old master password
# @return [String] reminder for the new master password
Generate a reminder for the new master password.
Generate a reminder for the new master password .
def convert(oldrem)
      rem = @oldgen.parse_reminder(oldrem)
      pass = @oldgen.generate_from_reminder(rem)
      rem.params.flags = Daniel::Flags::REPLICATE_EXISTING
      rem.mask = @newgen.generate_mask(rem.code, rem.params, pass)
      rem.checksum = Util.to_hex(@newgen.checksum)
      rem.to_s
    end
def convert ( oldrem ) rem = @oldgen . parse_reminder ( oldrem ) pass = @oldgen . generate_from_reminder ( rem ) rem . params . flags = Daniel :: Flags :: REPLICATE_EXISTING rem . mask = @newgen . generate_mask ( rem . code , rem . params , pass ) rem . checksum = Util . to_hex ( @newgen . checksum ) rem . to_s end
Generate a reminder for the new master password.
Generate a reminder for the new master password .
reminder for the new master password
reminder for the new master password
String
oldrem
reminder for the old master password
reminder for the old master password