]> feistymeow.org Git - feisty_meow.git/commitdiff
cleanups in naming for crypto classes
authorFred T. Hamster <fred@gruntose.com>
Wed, 30 Sep 2026 00:58:00 +0000 (20:58 -0400)
committerFred T. Hamster <fred@gruntose.com>
Wed, 30 Sep 2026 00:58:00 +0000 (20:58 -0400)
nucleus/library/crypto/borked_blowfish_crypto.h
nucleus/library/crypto/cryptical_envelopment.h
nucleus/library/crypto/twofish_crypto.h

index cf66b4c26c175023d8ef4d490e63f802d74bbebe..8d5ff04f7dc351cc730f7d4e3cb3558c14e560cc 100644 (file)
@@ -48,6 +48,8 @@ public:
 
   borked_blowfish_crypto(const borked_blowfish_crypto &to_copy);  //!< copy constructor.
 
+  virtual const char *class_name() const { return "borked_blowfish_crypto"; } 
+
   virtual ~borked_blowfish_crypto();
 
   borked_blowfish_crypto &operator = (const borked_blowfish_crypto &to_copy);
index e192be6e1abd765d51e7e6db0c6b0e00b4ee6e5f..836f230c09252a4af43ede9f9195304339b3c8f4 100644 (file)
@@ -28,7 +28,7 @@ typedef struct evp_cipher_st EVP_CIPHER;
 
 namespace crypto {
 
-class cryptical_envelopment : public virtual basis::root_object
+class cryptical_envelopment : public virtual basis::nameable
 {
 public:
   cryptical_envelopment(const EVP_CIPHER *cipher_type);
@@ -37,6 +37,8 @@ public:
 
   virtual ~cryptical_envelopment();
 
+  virtual const char *class_name() const { return "cryptical_envelopment"; }
+
   cryptical_envelopment &operator = (const cryptical_envelopment &to_copy);
 
   bool set_key(int key_size);
index 180ecedfc89350d1ddfd547b140b5d1f99519b29..0ca5ed1a0858cecc321fd875a7b544efbe82cda7 100644 (file)
@@ -35,6 +35,8 @@ public:
 
   twofish_crypto(const twofish_crypto &to_copy);  //!< copy constructor.
 
+  virtual const char *class_name() const { return "twofish_crypto"; } 
+
   virtual ~twofish_crypto();
 
   twofish_crypto &operator = (const twofish_crypto &to_copy);