# 哈希/解压/压缩

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/hash:
    get:
      summary: 哈希/解压/压缩
      deprecated: false
      description: ''
      tags:
        - 🍱 实用功能
      parameters:
        - name: content
          in: query
          description: ''
          required: true
          example: 你好👋
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      source:
                        type: string
                        title: 原始字符串
                      md5:
                        type: string
                        title: MD5 结果
                      sha:
                        type: object
                        properties:
                          sha1:
                            type: string
                            title: sha1 结果
                          sha256:
                            type: string
                            title: sha256 结果
                          sha512:
                            type: string
                            title: sha512 结果
                        required:
                          - sha1
                          - sha256
                          - sha512
                        x-apifox-orders:
                          - sha1
                          - sha256
                          - sha512
                      base64:
                        type: object
                        properties:
                          encoded:
                            type: string
                            title: base64 编码结果
                          decoded:
                            type: string
                            title: base64 解码结果
                        required:
                          - encoded
                          - decoded
                        x-apifox-orders:
                          - encoded
                          - decoded
                      url:
                        type: object
                        properties:
                          encoded:
                            type: string
                            title: UrlEncode 编码结果
                          decoded:
                            type: string
                            title: UrlEncode 解码结果
                        required:
                          - encoded
                          - decoded
                        x-apifox-orders:
                          - encoded
                          - decoded
                      gzip:
                        type: object
                        properties:
                          encoded:
                            type: string
                            title: GZIP 压缩结果
                          decoded:
                            type: string
                            title: GZIP 解压结果
                        required:
                          - encoded
                          - decoded
                        x-apifox-orders:
                          - encoded
                          - decoded
                      deflate:
                        type: object
                        properties:
                          encoded:
                            type: string
                            title: Deflate 压缩结果
                          decoded:
                            type: string
                            title: Deflate 解压结果
                        required:
                          - encoded
                          - decoded
                        x-apifox-orders:
                          - encoded
                          - decoded
                      brotli:
                        type: object
                        properties:
                          encoded:
                            type: string
                            title: Brotil 压缩结果
                          decoded:
                            type: string
                            title: Brotil 解压结果
                        required:
                          - encoded
                          - decoded
                        x-apifox-orders:
                          - encoded
                          - decoded
                    required:
                      - source
                      - md5
                      - sha
                      - base64
                      - url
                      - gzip
                      - deflate
                      - brotli
                    x-apifox-orders:
                      - source
                      - md5
                      - sha
                      - base64
                      - url
                      - gzip
                      - deflate
                      - brotli
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 200
                message: >-
                  获取成功。数据来自官方/权威源头，以确保稳定与实时。开源地址
                  https://github.com/vikiboss/60s，反馈群 595941841
                data:
                  source: 你好👋
                  md5: 442b3a64cc34789bc83da4382c18828c
                  sha:
                    sha1: 016a33e11b73e69b79ca7ec19951f90a33f8d43b
                    sha256: >-
                      fccee0f37ea1d7db8d02b8577915629619b23ecd04b0f5c00808a01eb8f9c48c
                    sha512: >-
                      cd0647ef4f588957e3ed3f88cf19ccd83924893801b6f59c8990b46759afe71408544bb7794c3f2b30211f6a84c3046d8f9d85dad0773f66e21d958899494f1c
                  base64:
                    encoded: 5L2g5aW98J+Riw==
                    decoded: ''
                  url:
                    encoded: '%E4%BD%A0%E5%A5%BD%F0%9F%91%8B'
                    decoded: 你好👋
                  gzip:
                    encoded: >-
                      1f8b08000000000000037bb277c1d3a57b3fcc9fd80d00eac8e25c0a000000
                    decoded: ''
                  deflate:
                    encoded: 789c7bb277c1d3a57b3fcc9fd80d0029b30734
                    decoded: ''
                  brotli:
                    encoded: 8b0480e4bda0e5a5bdf09f918b03
                    decoded: ''
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 🍱 实用功能
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5757303/apis/api-254679927-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://60s.viki.moe
    description: 正式环境
security: []

```
