<commit_before>require 'digest/sha1'

module Devise
  module Encryptors
    # = Sha1eccube
    # Sha1 with eccube format encrypter
    class Sha1eccube < Base
      class << self
        #returns eccube encrypt with pepper
        def digest(password, stretches, salt, pepper)
          Digest::SHA1.hexdigest(password+":"+pepper)
        end
        alias :encrypt :digest
      end
    end
  end
end<commit_msg>fix for devise<commit_after>require 'digest/sha1'

module Devise
  module Encryptable
    module Encryptors
      # = Sha1eccube
      # Sha1 with eccube format encrypter
      class Sha1eccube < Base
        class << self
          #returns eccube encrypt with pepper
          def digest(password, stretches, salt, pepper)
            Digest::SHA1.hexdigest(password+":"+pep<PASSWORD>)
          end
        alias :encrypt :digest
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.07005649717514124, 'fraction_numerical': 0.011299435028248588, 'mean_word_length': 2.3059701492537314, 'pattern_counts': {'":': 2, '<': 10, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6691369', 'n_tokens_mistral': 277, 'n_tokens_neox': 264, 'n_words': 76}