class LastPass::Blob

Attributes

bytes[R]
encrypted_private_key[R]
key_iteration_count[R]

Public Class Methods

new(bytes, key_iteration_count, encrypted_private_key) click to toggle source
# File lib/lastpass/blob.rb, line 10
def initialize bytes, key_iteration_count, encrypted_private_key
    @bytes = bytes
    @key_iteration_count = key_iteration_count
    @encrypted_private_key = encrypted_private_key
end

Public Instance Methods

encryption_key(username, password) click to toggle source
# File lib/lastpass/blob.rb, line 16
def encryption_key username, password
    Fetcher.make_key username, password, key_iteration_count
end