WAWebProtobufsUserPassword.proto 633 B

123456789101112131415161718192021222324252627282930313233
  1. syntax = "proto2";
  2. package WAWebProtobufsUserPassword;
  3. option go_package = "git.bobomao.top/joey/testwh/proto/waUserPassword";
  4. message UserPassword {
  5. enum Transformer {
  6. NONE = 0;
  7. PBKDF2_HMAC_SHA512 = 1;
  8. PBKDF2_HMAC_SHA384 = 2;
  9. }
  10. enum Encoding {
  11. UTF8 = 0;
  12. UTF8_BROKEN = 1;
  13. }
  14. message TransformerArg {
  15. message Value {
  16. oneof value {
  17. bytes asBlob = 1;
  18. uint32 asUnsignedInteger = 2;
  19. }
  20. }
  21. optional string key = 1;
  22. optional Value value = 2;
  23. }
  24. optional Encoding encoding = 1;
  25. optional Transformer transformer = 2;
  26. repeated TransformerArg transformerArg = 3;
  27. optional bytes transformedData = 4;
  28. }