Skip to content

docs: move AES-CBC importRawKey example to a separate file - #393

Open
KSAGlory wants to merge 1 commit into
google:masterfrom
KSAGlory:docs/aes-cbc-import-raw-key-example
Open

KSAGlory wants to merge 1 commit into
google:masterfrom
KSAGlory:docs/aes-cbc-import-raw-key-example

Conversation

@KSAGlory

@KSAGlory KSAGlory commented Sep 7, 2026

Copy link
Copy Markdown

Addresses part of #283

Summary

  • move the AesCbcSecretKey.importRawKey dartdoc example into example/webcrypto/aes_cbc/import_raw_key.dart
  • replace the inline code block with a {@example ...#example} reference
  • preserve the existing example behavior while making it independently analyzable and formattable

Validation

  • dart format --output=none --set-exit-if-changed lib/src/webcrypto/webcrypto.aescbc.dart example/webcrypto/aes_cbc/import_raw_key.dart
  • dart analyze

Testing limitation

  • dart test did not start because the local Windows native-asset build requires NASM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants