Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-3388

GridFS: Add sha256/keccak hash sum for new files

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: GridFS

      Use Case

      As a Node Driver User
      I want to use the hash algorithms provided by Node.js as an alternative to MD5 when uploading with GridFS
      So that I have more hash options and a convenient API to access them.

      Dependencies

      • GridFS
      • Node.js crypto

      Acceptance Criteria

      Implementation Requirements
      • tbd
      • Should allow 'sha256' or any Node.js supported hash algorithm as an option for GridFS fs.files metadata. (Node.js exposes algorithms from the systems local openssl implementation)
      • API should be similarly convenient to the current MD5 hash option
      Testing Requirements
      • tbd
      Documentation Requirements
      • tbd
      Follow Up Requirements
      • tbd

      Relevant Specification

            Assignee:
            Unassigned Unassigned
            Reporter:
            d@kozlov.ru Dmitry Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: