// NewBcryptEncryptor return new bcrypt encryptor service
NewBcryptEncryptor return new bcrypt encryptor service
// NewBcryptEncryptor return new bcrypt encryptor service
func NewBcryptEncryptor(config *CryptConfig) *BcryptEncryptor {
	if config == nil {
		config = &CryptConfig{}
	}
	if config.Cost == 0 {
		config.Cost = bcrypt.DefaultCost
	}
	return &BcryptEncryptor{config}
}
func NewBcryptEncryptor ( config * CryptConfig ) * BcryptEncryptor { if config == nil { config = & CryptConfig { } } if config . Cost == 0 { config . Cost = bcrypt . DefaultCost } return & BcryptEncryptor { config } }
NewBcryptEncryptor return new bcrypt encryptor service
NewBcryptEncryptor return new bcrypt encryptor service