INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

title: "Blowfish cipher"
project: "Security library"
revision: "$Revision: 1.1 $"
copyright: "Copyright (C) 1996-2005 Object Tools Group"
license: "http://visual-eiffel.com/license"
cluster: security
class BLOWFISH_CFB64
inherit

BLOWFISH
redefine
make
end

MEMORY
end

CIPHER
end
creation

make
feature {NONE}-- Creation

make (key: STRING)
-- Create new chiper using `key'
feature -- Translation

encrypt (data: STRING): STRING
ensure
same_size: Result.count = data.count

decrypt (data: STRING): STRING
ensure
same_size: Result.count = data.count
feature -- Status setting

reset
-- Reset the internal state of the cipher
-- so that next encryption does not depend on the previous
end -- class BLOWFISH_CFB64

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES