Source file src/runtime/secret/doc.go

     1  // Copyright 2025 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build goexperiment.runtimesecret
     6  
     7  // Package secret contains helper functions for zeroing out memory
     8  // that is otherwise invisible to a user program in the service of
     9  // forward secrecy. See https://en.wikipedia.org/wiki/Forward_secrecy for
    10  // more information.
    11  //
    12  // This package (runtime/secret) is experimental,
    13  // and not subject to the Go 1 compatibility promise.
    14  // It only exists when building with the GOEXPERIMENT=runtimesecret environment variable set.
    15  package secret
    16  

View as plain text