Add comment explaining NoPadding for AES in Java wrapper crypto callbacks

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Java binding
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It's confused some readers why the crypto callbacks specify NoPadding for AES encryption when padding is required. The reason is because libmongocrypt does the padding before calling the callback.

      We should add a comment explaining that.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: