Skip to content
  • Eli Collins's avatar
    .encrypt() method renamed to .hash(), other api cleanups · 1f7421b35b75
    Eli Collins authored
    .encrypt()
    ----------
    hash.encrypt() & context.encrypt() have been renamed to .hash().
    this should take care of the long-standing issue 21 (the poor naming of .encrypt).
    per docs, legacy aliases will remain in place until passlib 2.0.
    
    .genhash() / .genconfig()
    -------------------------
    taking advantage of this reorganization to also deprecate .genconfig()
    and .genhash() -- they're not really useful in a modern system,
    nor as needed for historical support as initially thought:
    .genconfig() will be retired completely in passlib 2.0;
    .genhash() is rolled into the new .hash() method along with .encrypt().
    1f7421b35b75
To learn more about this project, read the wiki.