All Downloads are FREE. Search and download functionalities are using the official Maven repository.

quivr.models.PreimageValidator.scala Maven / Gradle / Ivy

The newest version!
package quivr.models

object PreimageValidator extends scalapb.validate.Validator[quivr.models.Preimage] {
  def validate(input: quivr.models.Preimage): scalapb.validate.Result =
    scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.maxLength("Preimage.input", input.input, 16384)) &&
    scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.maxLength("Preimage.salt", input.salt, 16384))
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy