bcryptcostredfixture

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package bcryptcostredfixture is a known-positive for BCRYPT-COST-FUNNEL-01 rule A1: it deliberately calls bcrypt.GenerateFromPassword outside cells/accesscore/internal/credential/hasher.go. The archtest scanner excludes the tools/archtest/internal tree from the production scan, so this fixture never appears in A1's real findings; TestBCRYPT_COST_FUNNEL_01_A1_RedFixture parses it directly to prove the detector fires.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashOutsideFunnel

func HashOutsideFunnel(password []byte) ([]byte, error)

HashOutsideFunnel is the forbidden shape: a direct bcrypt.GenerateFromPassword call outside the sanctioned credential.Hasher.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL